mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 11:06:40 +07:00
stickers with ability to drag them
This commit is contained in:
parent
5f30df6f48
commit
b8434c32e7
19 changed files with 460 additions and 39 deletions
|
@ -200,7 +200,7 @@ const createPoly = () => {
|
|||
};
|
||||
|
||||
const restorePoly = latlngs => {
|
||||
const result = L.polyline(createLatLngs(latlngs), {color: 'red'}).addTo(map);
|
||||
const result = L.polyline(createLatLngs(latlngs), { color: 'red' }).addTo(map);
|
||||
|
||||
result.enableEdit().continueForward();
|
||||
result.editor.options.skipMiddleMarkers = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue