auto-sync: 2026-05-05 18:30:01

This commit is contained in:
Stream
2026-05-05 18:30:01 +03:00
parent 49be1b84d5
commit 69df4061f5

View File

@@ -460,7 +460,7 @@ function addWaypointMode() {
function createWaypointMarkerEl(index, total) {
const el = document.createElement('div');
el.className = 'route-waypoint-marker marker-anim';
el.style.cssText = 'cursor: grab; width: 28px; height: 36px; position: relative;';
el.style.cssText = 'cursor: grab; width: 28px; height: 36px;';
let bg, label;
if (index === 0) {
@@ -485,7 +485,7 @@ function rebuildWaypointMarkers() {
const map = window._map;
routeWaypoints.forEach((wp, i) => {
const el = createWaypointMarkerEl(i, routeWaypoints.length);
const marker = new maplibregl.Marker({ element: el, anchor: 'center', draggable: true })
const marker = new maplibregl.Marker({ element: el, anchor: 'bottom', draggable: true })
.setLngLat([wp.lon, wp.lat])
.addTo(map);
(function(idx) {