The setEditable method is only valid for feature layers created from a feature collection not for layers in a feature service. http://help.arcgis.com/en/webapi/javascript/arcgis/jsapi/featurelayer.html#FeatureLayer/setEditableIf you use this method on a feature service layer you should see the following message in the developer console: FeatureLayer:setEditable - this functionality is not yet supported for layer in a feature service
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.