Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 1879

The ArcGIS JavaScript, Flex and Silverlight Web APIs offer a feature layer class for working with client-side graphic features. Feature layers are also used in various forms in ArcGIS Desktop, ArcGIS Explorer and other APIs.

10 votes
5 answers
5k views

what is the right way to delete all features from featureLayer

I have a featureLayer and I don't want to kill it and create another one. I want to delete all features from the current featureLayer. I found that I can use applyEdits method but in order to use it I …
Kirill Lykov's user avatar
7 votes
1 answer
4k views

How to handle add feature event in the FeatureLayer/Editor

I use a FeatureLayer created from the featureCollection. I also use esri.dijit.editing.Editor to add a feature to the map. Every time feature has been added to this layer I want to send it to my remot …
Kirill Lykov's user avatar
5 votes
1 answer
5k views

How to change a FeatureLayer's symbols?

I did this: dojo.connect(featureLayer, "onUpdateEnd", function() { var defaultSymbol = new esri.symbol.SimpleMarkerSymbol().setColor(new dojo.Color([0,0,255])); dojo.forEach(this.grap …
Kirill Lykov's user avatar
2 votes
1 answer
5k views

Feature Layer with ONDEMAND mode

I can't understand how to display all features from the feature layer. In the code bellow I specified 2 features in the layer and set in feature layer's mode to esri.layers.FeatureLayer.MODE_SNAPSHOT. …
Kirill Lykov's user avatar
6 votes
4 answers
13k views

FeatureLayer creating in javascript ArcGIS API

I got the sample called "Feature Layer with ONDEMAND mode" in the ArcGIS for js resource center. This example just adds layer with rivers to the map. I want to use my own features instead of using fe …
Kirill Lykov's user avatar