AnsweredAssumed Answered

Delete Graphic in Edit Mode Retains Vertices on Map - Possible Bug

Question asked by crombezk on Dec 7, 2015
Latest reply on Dec 9, 2015 by rscheitlin

Using the JavaScript API (currently using version 3.15).

I draw a graphic on the screen. Then I call the editor tool to edit the graphic.

 

If I delete the graphic while the editor tool is enabled, the graphic disappears, but the edit tool vertices remain on the map.

Not sure if this is by design, or just something the developers overlooked.

 

The only way to terminate the edit mode and remove the vertices from the map is to select a different graphic for editing.

It seems to me that if the graphic is deleted, the edit mode should be terminated on that graphic naturally.

Outcomes