more route drawing
This commit is contained in:
@@ -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 }
|
||||
Reference in New Issue
Block a user