Xamarin Forms KMZ pushpins are not displayed

489
0
10-22-2020 07:54 AM
KavitaPandey
New Contributor II

Hello Team,

 

I am overlaying KMZ files over ArcGIS default base maps, the polygons get overlayed properly but the pushpin placemarks are displaying as Red X and polylines are not being displayed.

I am working with Xamarin forms using Esri.ArcGISRuntime.Xamarin.Forms (100.7.0) Nuget  and below is my code to overlay KMZ file :

MyMapView.Map = new Esri.ArcGISRuntime.Mapping.Map(Basemap.CreateImageryWithLabels());

KmlDataset dataset = new KmlDataset(new Uri(KMZFileLocalPath));
KmlLayer layer = new KmlLayer(dataset);

MyMapView.Map.OperationalLayers.Add(layer);

Attached sample KMZ file that is giving this issue. And a sample  screenshot of the pushpin getting rendered as Red X

I really can't figure out what am I missing here, that the pins are getting displayed like this.

 Any Help will be appreciated.

 

Thanks,

Kavita 

0 Kudos
0 Replies