mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2025-09-06 10:22:54 +00:00
10 lines
279 B
TypeScript
10 lines
279 B
TypeScript
![]() |
import type { Waypoint } from "gpx";
|
||
|
import mapboxgl from "mapbox-gl";
|
||
|
import { writable } from "svelte/store";
|
||
|
|
||
|
export const currentWaypoint = writable<Waypoint | null>(null);
|
||
|
|
||
|
export const waypointPopup = new mapboxgl.Popup({
|
||
|
closeButton: false,
|
||
|
maxWidth: undefined
|
||
|
});
|