Hi,
I am using the Xamarin Android Runtime Package 100.7, While trying to load a feature service using the following code below, I get the exception saying "Invalid Response : This service does not support map capability"
Solved! Go to Solution.
For ArcGISMapImageLayer, only Mapservice endpoints will work (ie /Mapserver/ in the URL). FeatureServer services would/should never have worked. You'd need to use a FeatureLayer and add the sublayer for that url to work.
Hi,
The .NET Xamarin questions can be posted here in the .NET board
As far as loading FeatureService's layers in Runtime, we need to use ServiceFeatureTable. ArcGISMapImageLayer can only be used for MapServices.
Android Example:
FeatureLayer featureLayer = new FeatureLayer(new ServiceFeatureTable("http://sampleserver6.arcgisonline.com/arcgis/rest/services/Sync/WildfireSync/FeatureServer/0");
Thanks
Rama
For ArcGISMapImageLayer, only Mapservice endpoints will work (ie /Mapserver/ in the URL). FeatureServer services would/should never have worked. You'd need to use a FeatureLayer and add the sublayer for that url to work.
Thanks @dotMorten_esri , we had been using ArcGISMapImageLayer to load feature layers for a long time now, since the start of the 100.0 version, its weird how it was working in the first place.
> we had been using ArcGISMapImageLayer to load feature layers
This statement confuses me. Are you loading an image layer or a feature layer?
Could you share a bit more of code, and the actual URL you use to help clarify? (you can obfuscate the domain if necessary)