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
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.