Deactivating editing toolbar for multiple features

by Maeglin77   Last Updated December 07, 2017 10:22 AM

I am creating a toolbar for a number of features as follows:

 for (var graphicNum = 0; graphicNum < graphicList.length; graphicNum++) {
        if (graphicList[graphicNum].symbol != undefined) {
            //Initializing the toolbar to be used for the feature modification process
            moveToolbarLabel = new esri.toolbars.Edit(;
            moveToolbarLabel.activate(esri.toolbars.Edit.MOVE | esri.toolbars.Edit.SCALE | esri.toolbars.Edit.ROTATE, graphicList[graphicNum]);

The features all get the scale and rotation points around them as expected. However when I click a button to remove these scale and rotation points by deactivating the toolbar as follows:

if (moveToolbarLabel != undefined) {

the scaling and rotation points do no go. Is there any additional code that has to be included since there would be multiple toolbar due to having the toolbar activated for multiple features?

Related Questions

Edited features only store edits upon map refresh

Updated December 15, 2017 09:22 AM

Cut features Tool Target box is empty

Updated July 21, 2015 18:09 PM

editing existing lines

Updated August 14, 2015 17:09 PM