Hi,
According to https://developers.arcgis.com/net/license-and-deployment/license/#licensing-capabilities I can "Viewing KML data accessed as a web resource (for example, via an http or https link)." with my Lite license.
So following this example https://community.esri.com/t5/net-maps-sdk-questions/best-way-to-display-overlay-an-image-onto-a-2d-map/td-p/1230346 I've created the following test in my Windows WPF .NET 7 app with ArcGIS v200 installed via NuGet:
var img = new Uri("http://mydomain.com/my.png", UriKind.Absolute);
var overlayImg = new KmlIcon(img);
overlayImg.RefreshMode = KmlRefreshMode.OnChange;
overlayImg.ViewRefreshMode = KmlViewRefreshMode.Never;
var overlay = new KmlGroundOverlay(fullArea, overlayImg); // fullArea is an Esri.ArcGISRuntime.Geometry.Envelope
var dataset = new KmlDataset(overlay);
await dataset.LoadAsync();
var layer = new KmlLayer(dataset);
_mapView.Map!.OperationalLayers.Add(layer);According to @MichaelBranscomb this should work (see https://community.esri.com/t5/net-maps-sdk-questions/do-arcgis-runtime-net-license-levels-restrict/td-p/455286)
But it doesn't. I get the LoadError="unlicensed feature".
To make sure my code works I removed my Lite-license and the image shows successfully.
Can anybody tell me if this is a bug in the license check of the Runtime or if I violate any other license with this?
Thanks
Soko