more route drawing

This commit is contained in:
Christian Beutel
2024-04-23 16:11:49 +02:00
parent 8a3894106f
commit b3ed2b1098
10 changed files with 261 additions and 98 deletions

View File

@@ -1,3 +1,5 @@
import type { LatLng, Marker } from "leaflet";
interface ValhallaRouteResponse {
trip: {
legs: {
@@ -10,4 +12,11 @@ interface ValhallaHeightResponse {
height: number[];
}
export { type ValhallaRouteResponse, type ValhallaHeightResponse }
interface ValhallaAnchor {
id: string,
lat: number,
lon: number,
marker?: Marker
}
export { type ValhallaRouteResponse, type ValhallaHeightResponse, type ValhallaAnchor }