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
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.