I can get the KMLDataset to show up when using the sample from your link
KmlDataset {
url: "https://www.arcgis.com/sharing/rest/content/items/600748d4464442288f6db8a4ba27dc95/data"
}
but when I try and use the KML Icon I can never get my Image to show? I don't know what I am missing here
KmlLayer {
id: kmlLayer
description: "description"
layerId: "layerId"
name: "Detail Name"
KmlDataset {
KmlGroundOverlay {
id: groundOverlay
KmlIcon {
url: "https://myURL"
}
Envelope {
id: envelopeCHI
xMax: -82.2186596479493
yMin: 42.3568647873956
xMin: -82.2062302246723
yMax: 42.3641136441737
spatialReference: SpatialReference.createWgs84()
}
}
}
}
myMapView.map.operationalLayers.append(kmlLayer)