new-poly: removed leaflet-editable

This commit is contained in:
muerwre 2018-12-20 18:51:10 +07:00
parent 630ed43525
commit 34f99771b1
8 changed files with 15 additions and 15 deletions

View file

@ -133,7 +133,7 @@ const insertVertex = ({ e, updatePolyCoords }) => {
}
// если точка найдена, добавляем её в отрезок
if (pos.length>1) {
poly.editor.disable();
// poly.editor.disable();
latlngs.splice(pos[1],0,e.latlng);
poly.setLatLngs(latlngs);
poly.editor.initVertexMarkers();