|
@@ -50,6 +50,7 @@ class AddDrawEvent {
|
|
|
this.sketchViewModel.create(type);
|
|
|
}
|
|
|
update(){
|
|
|
+ debugger
|
|
|
if(this.path){
|
|
|
const predefinedPath = {
|
|
|
type: "polyline",
|
|
@@ -62,8 +63,8 @@ class AddDrawEvent {
|
|
|
});
|
|
|
this.graphicLayer.add(this.graphic);
|
|
|
}
|
|
|
- const updateOptions = { tool: "reshape", highlightOptions: { enabled: false }};
|
|
|
- this.sketchViewModel.update([this.graphic],updateOptions);
|
|
|
+ // const updateOptions = { tool: "reshape", highlightOptions: { enabled: false }};
|
|
|
+ // this.sketchViewModel.update([this.graphic],updateOptions);
|
|
|
}
|
|
|
createListenerEvent(callback){
|
|
|
this.clearCreateListenerEvent()
|