upgrade to maplibre v6

This commit is contained in:
vcoppe
2026-07-24 19:06:39 +02:00
parent 2e8b2d6f30
commit b319440a57
25 changed files with 204 additions and 191 deletions
@@ -1,9 +1,10 @@
import { MapPopup } from '$lib/components/map/map-popup';
import type { Map } from 'maplibre-gl';
export let waypointPopup: MapPopup | null = null;
export let trackpointPopup: MapPopup | null = null;
export function createPopups(map: maplibregl.Map) {
export function createPopups(map: Map) {
removePopups();
waypointPopup = new MapPopup(map, {
closeButton: false,