AnsweredAssumed Answered

FeatureLayer: Invalid JSON

Question asked by amanero on Feb 7, 2017
Latest reply on Feb 16, 2017 by amanero

Hello,

 

I am trying to add a layer from the URL "Layer: Arbolado de riesgo (ID: 0) " to my map as a FeatureLayer, but I am getting an "Invalid JSON" error when it loads.

 

It is supposed to be quite easy to load it, something like this:

    FeatureLayer gdbFeatureServiceTable = new FeatureLayer(new Uri("[LayerURL]"));
    _map.OperationalLayers.Add(gdbFeatureServiceTable);

 

What am I doing wrong?

Outcomes