mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 11:06:40 +07:00
new-poly: removed leaflet-editable
This commit is contained in:
parent
630ed43525
commit
34f99771b1
8 changed files with 15 additions and 15 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue