AnsweredAssumed Answered

Enable Editing on webMap

Question asked by bt_kdunaway on Jul 25, 2014
Latest reply on Jul 30, 2014 by DGoyal-esristaff

I have an iOS app that loads a webMap and makes edits/updates to the feature layers of that webMap.

 

In ArcGIS Online, when I view the webMap in the viewer, and click on a content layer I get the following window.

Screen Shot 2014-07-25 at 1.07.03 PM.png

 

If I Disable Editing on this layer, in my app I can no longer edit the layer.

 

My question is what does this setting do exactly?  It shouldnt change the edit settings of the layer itself right?

When I load the URL of the feature layer that I changed to disable editing, I still see on the bottom of the feature layer the following:

Screen Shot 2014-07-25 at 1.09.44 PM.png

 

so the featureLayer itself is still editable.  In my app this is how I am getting the layer.

 

- (void)webMap:(AGSWebMap *) webmap didLoadLayer:(AGSLayer *)layer

 

     if layer.name equals the layer i want, i save it as a AGSFeatureLayer* and make changes to that.

 

Should I not get the layers from the webmap and use their respectable URLs instead?

 

Thanks for any help guys.

Outcomes