Select to view content in your preferred language

Adding to a feature layer without saving

558
1
10-21-2010 08:10 AM
JamieSimko
Regular Contributor
I was wondering if adding to a feature layer and having the graphic appear without saving to the database was possible.

Currently I am using the DrawTool and pointing it to a feature layer as the graphic layer while saving the graphic's information into an array to be used with applyEdits later. While drawing the tooltips appear but the polygon I create doesn't render graphically. It does however once I run applyEdits with the Adds array in it.

Also, does anyone know how editing features on a feature layer works? How is it possible to drag and drop a vertex of a graphic without applying this edit to the feature layer.

Any input would be appreciated.
Tags (2)
0 Kudos
1 Reply
DasaPaddock
Esri Regular Contributor
Try using a different GraphicsLayer (or don't specify one) and then call applyEdits() on drawEnd.
0 Kudos