This service does not support the Map capability on android xamarin
tatsondev opened this issue · 3 comments
ArcGISMapImageLayer baseLayer;
baseLayer = new ArcGISMapImageLayer(new Uri(EsriServerUrl));
await baseLayer.LoadAsync();
On Load of baseLayer, I am getting an exception (This service does not support the Map capability).
I am using Esri.ArcGISRuntime.Xamarin.Android v 100.7 package.
ArcGIS Service version v 10.81.
Hi,
Are you having trouble with a specific sample in this repo or are you experiencing difficulty implementing this functionality in your own application?
Thanks
@mbranscomb thanks for replying. I am having difficulty implementing my own application. If I use Esri.ArcGISRuntime.Xamarin.Android v 100.5 package seems to be working fine but when I updated it to v 100.7 then I am facing the above issue. (This service does not support the Map capability). Also, it seems to be working fine on MapServer URL(https://sampleserver6.arcgisonline.com/arcgis/rest/services/Military/MapServer) but breaks on FeatureServer URL(https://sampleserver6.arcgisonline.com/arcgis/rest/services/Military/FeatureServer). With the same error message.
@tatsondev Thanks for posting your question in the Community - looks like it was solved in both threads.
https://community.esri.com/t5/arcgis-runtime-sdk-for-net/invalid-response-this-service-does-not-support-map-capability/m-p/1032970#M9857 / https://community.esri.com/t5/arcgis-runtime-sdk-for-net/invalid-response-this-service-does-not-support-map-capability/m-p/1032765#M9849