mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2025-09-06 02:12:55 +00:00
waypoint popup info
This commit is contained in:
10
website/src/lib/components/gpx-layer/WaypointPopup.ts
Normal file
10
website/src/lib/components/gpx-layer/WaypointPopup.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
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
|
||||
});
|
Reference in New Issue
Block a user