AnsweredAssumed Answered

Xamarin Forms – displaying mapserver problem

Question asked by kbheadley on Aug 9, 2017
Latest reply on Aug 10, 2017 by kbheadley

I am trying to get a simple overlay working in Xamarin Forms (all code in shared folder) with Esri.ArcGISRuntime SDK v100.1.0, using VS.NET 2017, testing the Android project.  I load an ESRI basemap, then add a busmap/transitmap as a layer on top of that.  I have tried various types of layers.  In all 3 cases, when I monitor the layerviewstatus, it goes from “loading” to “error”.   I do get the basemap to display, but nothing is overlayed. Am I going about this the right way, or could someone suggest a way to get the actual “error” that is being generated?   Thanks so much in advance.


Here is my code for the tiledLayerUri, imageLayerUri, featureLayerUri:


Map myMap = new Map(Basemap.CreateStreets());

var tiledLayerUri = new Uri(              "");

 ArcGISTiledLayer tiledLayer = new ArcGISTiledLayer(tiledLayerUri);

 tiledLayer.Name = "Tiled Layer";



var imageLayerUri = new Uri(            "");

ArcGISMapImageLayer imageLayer = new ArcGISMapImageLayer(imageLayerUri)

imageLayer.Name = "Image Layer";

imageLayer.MinScale = 40000000;

imageLayer.MaxScale = 2000000;




 var featureLayerUri = new Uri(              "");

FeatureLayer myFeatureLayer = new FeatureLayer(featureLayerUri);

myFeatureLayer.Name = "Feature Layer";