diff --git a/gpx/src/index.ts b/gpx/src/index.ts index f2fe5f3f..94790a79 100644 --- a/gpx/src/index.ts +++ b/gpx/src/index.ts @@ -1,5 +1,5 @@ export * from './gpx'; -export { Coordinates, LineStyleExtension } from './types'; +export { Coordinates, LineStyleExtension, WaypointType } from './types'; export { parseGPX, buildGPX } from './io'; export * from './simplify'; diff --git a/website/src/lib/assets/layers.ts b/website/src/lib/assets/layers.ts index 4852138a..423fbc61 100644 --- a/website/src/lib/assets/layers.ts +++ b/website/src/lib/assets/layers.ts @@ -561,7 +561,7 @@ export const overpassTree: LayerTreeType = { tourism: { attraction: true, viewpoint: true, - sleep: true, + accommodation: true, summit: true, pass: true, climbing: true, @@ -645,7 +645,7 @@ export const defaultOverpassQueries: LayerTreeType = { tourism: { attraction: false, viewpoint: false, - sleep: false, + accommodation: false, summit: false, pass: false, climbing: false @@ -770,30 +770,30 @@ export const defaultOverpassTree: LayerTreeType = { amenities: { toilets: true, "water": true, - "water-spring": true, - shower: true, + "water-spring": false, + shower: false, "fuel-station": false, parking: false, barrier: false }, tourism: { - attraction: true, - viewpoint: true, - sleep: true, + attraction: false, + viewpoint: false, + accommodation: true, summit: true, pass: true, climbing: false }, bicycle: { - "bicycle-parking": true, - "bicycle-rental": true, + "bicycle-parking": false, + "bicycle-rental": false, "bicycle-shop": true }, "public-transport": { "railway-station": true, "tram-stop": true, "bus-stop": true, - ferry: true + ferry: false }, }, }; @@ -926,10 +926,10 @@ export const overpassQueryData: Record = { tourism: "viewpoint" } }, - sleep: { + accommodation: { icon: { svg: Bed, - color: "Green", + color: "#e6c100", }, tags: { tourism: ["hotel", "hostel", "guest_house", "motel", "camp_site", "alpine_hut", "wilderness_hut"] diff --git a/website/src/lib/components/gpx-layer/WaypointPopup.svelte b/website/src/lib/components/gpx-layer/WaypointPopup.svelte index 29ac9e1e..42bc1ad7 100644 --- a/website/src/lib/components/gpx-layer/WaypointPopup.svelte +++ b/website/src/lib/components/gpx-layer/WaypointPopup.svelte @@ -34,24 +34,22 @@ {/if} {#if $currentPopupWaypoint[0].desc} - {$currentPopupWaypoint[0].desc} + {$currentPopupWaypoint[0].desc} {/if} {#if $currentPopupWaypoint[0].cmt && $currentPopupWaypoint[0].cmt !== $currentPopupWaypoint[0].desc} - {$currentPopupWaypoint[0].cmt} + {$currentPopupWaypoint[0].cmt} {/if} {#if $currentTool === Tool.WAYPOINT} -
- -
+ {/if} diff --git a/website/src/lib/components/layer-control/LayerControlSettings.svelte b/website/src/lib/components/layer-control/LayerControlSettings.svelte index 57611669..39cf84aa 100644 --- a/website/src/lib/components/layer-control/LayerControlSettings.svelte +++ b/website/src/lib/components/layer-control/LayerControlSettings.svelte @@ -209,10 +209,6 @@ -