How To Show Google Map In WPF Sfmap

Sample date Updated on Sep 13, 2025
google-map map sfmap show-google-map wpf

This article explains how to use google maps API to show that in Syncfusion WPF Maps control as shown in below.

Display the Google Maps

You can show the Google Maps by overriding the Imagery layer as given in the below code snippet.

[XAML]


          <sync:SfMap>
            <sync:SfMap.Layers>
                <local:ImageryLayerExt>
                </local:ImageryLayerExt>
            </sync:SfMap.Layers>
        </sync:SfMap>

[C#]

    public class ImageryLayerExt : ImageryLayer
    {
        protected override string GetUri(int X, int Y, int Scale)
        {
            var link = "http://mt1.google.com/vt/lyrs=y&x=" + X.ToString() + "&y=" + Y.ToString() + "&z=" + Scale.ToString();
            return link;
        }
    }

KB article - How-to-show-google-map-in-WPF-SfMap

See also

How to view bing map using WPF SfMap

How to open street map in WPF SfMap

How to add a multiple layers in OSM map

How to show the markers in WPF SfMap

Up arrow