/how-to-use-the-openstreetmap-geocode-service-via-the-map-control-t629683

Add an image layer displaying map tiles from the OSM service and an information layer that searches for a place on the map using the OSM search service.

Primary LanguageVisual Basic .NETOtherNOASSERTION

How to: Use the OpenStreetMap Geocode Service Via the Map Control

This example demonstrates how to add an image layer displaying map tiles from the OSM service and an information layer that searches for a place on the map using the OSM search service.

The example uses the following classes:

ImageLayer - A layer that displays map images obtained from map image data providers.
OpenStreetMapDataProvider - The provider that loads map images from a web resource that provides data in the OpenStreetMap format.
InformationLayer - A layer that displays additional geo information above the map.
OsmGeocodeDataProvider - Provides search using the Open Street Map service.