|
@@ -245,7 +245,7 @@ export default function Measure (map, typeSelect) {
|
|
draw.un('drawend', drawendHandle);
|
|
draw.un('drawend', drawendHandle);
|
|
map.removeInteraction(map.getInteractions().getArray().filter(v => v.get(id) === id)[0]);
|
|
map.removeInteraction(map.getInteractions().getArray().filter(v => v.get(id) === id)[0]);
|
|
map.un('pointermove', pointerMoveHandler)
|
|
map.un('pointermove', pointerMoveHandler)
|
|
- store.commit('gis/SET_IS_TOOLING', false)
|
|
|
|
|
|
+ store.dispatch('gis/LOAD_IS_TOOLING', false)
|
|
}
|
|
}
|
|
draw.on('drawend', drawendHandle);
|
|
draw.on('drawend', drawendHandle);
|
|
}
|
|
}
|