Edit Vertices not working after migrating to ArcGIS Api 3.18 and doj 1.11.2

755
0
09-30-2016 07:13 AM
YamunadeviRathinasamy
New Contributor II

I recently migrated the JS api to 3.18 and dojo to 1.11.2.

And my map has multiple graphics layers for each type of geometry. and edit enabled on a polygon I can scale/move/rotate.

However I could not edit vertices. samething for polyline.

tool = edit.MOVE | edit.EDIT_VERTICES | edit.SCALE | edit.ROTATE;
options = { allowAddVertices: true, allowDeleteVertices: true, uniformScaling: true };

this.editToolbar.activate(tool, event.graphic, options);

getting the following error:

Unhandled exception at line 22, column 1 in http://localhost:63292/src/esri/PointerEvents.js?1475244454645

0x800a138f - JavaScript runtime error: Unable to set property 'numPoints' of undefined or null reference

0 Kudos
0 Replies