adds grid lines to print map

This commit is contained in:
Christian Beutel
2024-04-10 14:40:04 +02:00
parent e44ba65bd9
commit 71d548b9d6
18 changed files with 1254 additions and 69 deletions

View File

@@ -12,7 +12,10 @@ export function createMarkerFromWaypoint(L: any, waypoint: Waypoint, onDragEnd?:
const marker = L.marker([waypoint.lat, waypoint.lon], {
title: waypoint.name,
icon: fontAwesomeIcon,
draggable: onDragEnd != null
draggable: onDragEnd != null,
meta: {
waypointName: waypoint.name
}
})
.bindPopup(
"<b>" +
@@ -25,7 +28,7 @@ export function createMarkerFromWaypoint(L: any, waypoint: Waypoint, onDragEnd?:
if (onDragEnd) {
marker.on("dragend", onDragEnd);
}
return marker;
}