Hi Yogita,
To display the google street map view, you can assign the given google map Url of “lyrs” value is “m” as shown in below code.
private void ImageryLayer_RequestTileUri(object sender, Syncfusion.SfMaps.XForms.TileUriArgs e)
{
var link = "http://mt1.google.com/vt/lyrs=m&x=" + e.X.ToString() + "&y=" + e.Y.ToString() + "&z=" + e.ZoomLevel.ToString();
e.Uri = link;
} |
Likewise, you can change to the other view type by assigning the below layer value.
h = roads only
m = standard roadmap (street map)
p = terrain
r = somehow altered roadmap
s = satellite only
t = terrain only
y = hybrid
Please find the sample link from below location.
Output Screenshot: