I need to move the feature using the Edit tool from esri javascript api 3.13
editLayer : function(layer) { alert("Use 'shift+Mouse Click' to Select the Feature"); this.layer = layer; //Esri editToolbar Edit method this.editToolbar = new Edit(this.map); // Adding Events on layer this.layer.on("click", lang.hitch(this, "handleClick")); this.layer.on("dbl-click", lang.hitch(this, "handleDoubleClick")); this.editToolbar.on("deactivate", lang.hitch(this, "deactivateEdit")); } handleDoubleClick : function(evt) { event.stop(evt); this.editToolbar.deactivate(); this.editToolbar = null; this.map.enableMapNavigation(); }, handleClick : function(evt) { event.stop(evt); if (evt.shiftKey === true) { this.map.disableMapNavigation(); console.log("Selected the Feature"); //alert("Feature is Selected, Now you can move Feature"); this.editToolbar.activate(Edit.MOVE, evt.graphic); } }, this is working in chrome but not in IE
i have enabled IE10 as below
Problem:
When i Start edit by clicking Shift+Click edittool will activate. but not able to drag the feature.
When i double click it will deactivate but Hand cursor in not resetting to default cursor
أكثر...
editLayer : function(layer) { alert("Use 'shift+Mouse Click' to Select the Feature"); this.layer = layer; //Esri editToolbar Edit method this.editToolbar = new Edit(this.map); // Adding Events on layer this.layer.on("click", lang.hitch(this, "handleClick")); this.layer.on("dbl-click", lang.hitch(this, "handleDoubleClick")); this.editToolbar.on("deactivate", lang.hitch(this, "deactivateEdit")); } handleDoubleClick : function(evt) { event.stop(evt); this.editToolbar.deactivate(); this.editToolbar = null; this.map.enableMapNavigation(); }, handleClick : function(evt) { event.stop(evt); if (evt.shiftKey === true) { this.map.disableMapNavigation(); console.log("Selected the Feature"); //alert("Feature is Selected, Now you can move Feature"); this.editToolbar.activate(Edit.MOVE, evt.graphic); } }, this is working in chrome but not in IE
i have enabled IE10 as below
Problem:
When i Start edit by clicking Shift+Click edittool will activate. but not able to drag the feature.
When i double click it will deactivate but Hand cursor in not resetting to default cursor
أكثر...