auto-sync: 2026-05-06 10:40:01
This commit is contained in:
1
tasks/enduro-trails/prototype/static/app.js
vendored
1
tasks/enduro-trails/prototype/static/app.js
vendored
@@ -1647,6 +1647,7 @@ function toggleRuler() {
|
||||
const pts = [...rulerPoints];
|
||||
rulerPoints = [];
|
||||
rulerTotal = 0;
|
||||
rulerMarkers.forEach(m => m.remove()); // удалить старые маркеры с карты
|
||||
rulerMarkers = [];
|
||||
pts.forEach(pt => addRulerPoint({ lng: pt[0], lat: pt[1] }));
|
||||
document.getElementById('ruler-info').classList.add('visible');
|
||||
|
||||
Reference in New Issue
Block a user