Articles in this section
Category / Section

How to render OpenStreetMap in SfMaps?

1 min read

OpenStreetMap is a map of the entire world. The OpenStreetMap allows you to view, edit and use geographical data in a collaborative way from any place on the Earth.

You can enable this feature by setting LayerType as “OSM”.

XAML

<syncfusion:SfMap.Layers>
<syncfusion:ImageryLayer LayerType="OSM"/>
</syncfusion:SfMap.Layers>

Code Example

XAML

<syncfusion:SfMap>
<syncfusion:SfMap.Layers>
<syncfusion:ImageryLayer LayerType="OSM"/>
</syncfusion:SfMap.Layers>
</syncfusion:SfMap>

The following screenshot illustrates the OpenStreetMap.

Map

Description automatically generated

Figure 1: OpenStreetMap

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments
Please sign in to leave a comment
Access denied
Access denied