This example demonstrates how to add an image layer with map tiles from the OpenStreetMap service, and an information layer uses the OpenStreetMap search service to locate a place on the map.
The example uses the following classes:
-
ImageLayer- A layer that displays map images obtained from map image data providers. -
OpenStreetMapDataProvider- A provider that loads map images in the OpenStreetMap format from a web resource.IMPORTANT: Before you use OpenStreetMap tiles in your app, read the following articles: Copyright and License and Tile Usage Policy.
-
InformationLayer- A layer that displays additional geo information over the map. -
OsmSearchDataProvider- Allows you to use the OpenStreetMap search service.
- MainForm.cs (VB: MainForm.vb)
- Map for WinForms - Connect to the OpenStreetMap Service
- How to: Use the OpenStreetMap Geocode Service Via the Map Control
(you will be redirected to DevExpress.com to submit your response)
