Skip to content

SyncfusionExamples/How-to-view-bing-map-using-Map-control-WPF

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to view the Bing map in WPF maps

This article explains how to show the external geospatial imagery resources for deep-zoom satellite viewing (Bing Map) in Syncfusion WPF map control, as shown in the following image.

Output image of BingMap

Please refer the below KB for more

How to view the Bing map in WPF maps

This can be achieved by using the LayerType property in ImageryLayer as shown in the following steps:

Step 1: To enable this feature, define Bing as LayerType.

Step 2: Provide the bing Map Key to the BingMapKey property and that key has been obtained from this link.

Step 3: Provide the desired BingMapStyle from the available three types:

  1. Aerial View
  2. Road View and
  3. AerialWithLabel View

Please refer the following code reference, for more details.

[XAML]

        <syncfusion:SfMap>
            <syncfusion:SfMap.Layers>
                <syncfusion:ImageryLayer LayerType="Bing" BingMapKey="Your Bing Map Key " BingMapStyle="Aerial" />
            </syncfusion:SfMap.Layers>
        </syncfusion:SfMap>

[C#]

SfMap syncMap = new SfMap();
ImageryLayer imageryLayer = new ImageryLayer()
{
LayerType = LayerType.Bing,
BingMapKey = "Your Bing Map key",
BingMapStyle = BingMapStyle.Aerial,
};
syncMap.Layers.Add(imageryLayer);

KB article - How to view the Bing map in WPF maps

See also

Interact with shapes on SfMaps

To display item on a map

To load multiple shape files on SfMaps

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages