OsmGeocodeDataProvider Class
Provides the capability to obtain geocode data from the Open Street Map service.
Namespace: DevExpress.Xpf.Map
Assembly: DevExpress.Xpf.Map.v24.2.dll
NuGet Package: DevExpress.Wpf.Map
#Declaration
public class OsmGeocodeDataProvider :
WebInformationDataProvider,
IMouseClickRequestSender
#Example
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. It uses the following classes:
Class | Description |
---|---|
Image |
Displays map images obtained from map image data providers. |
Open |
The class that loads map images from a web resource that provides data in the Open |
Information |
A layer that is used to display additional information above the map. |
Osm |
Provides the capability to obtain geocode data from the Open Street Map service. |
<dxm:MapControl>
<dxm:ImageLayer>
<dxm:OpenStreetMapDataProvider />
</dxm:ImageLayer>
<dxm:InformationLayer>
<dxm:OsmGeocodeDataProvider />
</dxm:InformationLayer>
</dxm:MapControl>