mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2025-09-02 16:52:31 +00:00
split accomodation POIs, relates to #7
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
import { PUBLIC_MAPBOX_TOKEN } from '$env/static/public';
|
import { PUBLIC_MAPBOX_TOKEN } from '$env/static/public';
|
||||||
import { TramFront, Utensils, ShoppingBasket, Droplet, ShowerHead, Fuel, CircleParking, Fence, FerrisWheel, Telescope, Bed, Mountain, Pickaxe, Store, TrainFront, Bus, Ship, Croissant } from 'lucide-static';
|
import { TramFront, Utensils, ShoppingBasket, Droplet, ShowerHead, Fuel, CircleParking, Fence, FerrisWheel, Telescope, Bed, Mountain, Pickaxe, Store, TrainFront, Bus, Ship, Croissant, House, Tent } from 'lucide-static';
|
||||||
import { type AnySourceData, type Style } from 'mapbox-gl';
|
import { type AnySourceData, type Style } from 'mapbox-gl';
|
||||||
|
|
||||||
export const basemaps: { [key: string]: string | Style; } = {
|
export const basemaps: { [key: string]: string | Style; } = {
|
||||||
@@ -561,7 +561,9 @@ export const overpassTree: LayerTreeType = {
|
|||||||
tourism: {
|
tourism: {
|
||||||
attraction: true,
|
attraction: true,
|
||||||
viewpoint: true,
|
viewpoint: true,
|
||||||
accommodation: true,
|
hotel: true,
|
||||||
|
campsite: true,
|
||||||
|
hut: true,
|
||||||
summit: true,
|
summit: true,
|
||||||
pass: true,
|
pass: true,
|
||||||
climbing: true,
|
climbing: true,
|
||||||
@@ -645,7 +647,9 @@ export const defaultOverpassQueries: LayerTreeType = {
|
|||||||
tourism: {
|
tourism: {
|
||||||
attraction: false,
|
attraction: false,
|
||||||
viewpoint: false,
|
viewpoint: false,
|
||||||
accommodation: false,
|
hotel: false,
|
||||||
|
campsite: false,
|
||||||
|
hut: false,
|
||||||
summit: false,
|
summit: false,
|
||||||
pass: false,
|
pass: false,
|
||||||
climbing: false
|
climbing: false
|
||||||
@@ -779,7 +783,9 @@ export const defaultOverpassTree: LayerTreeType = {
|
|||||||
tourism: {
|
tourism: {
|
||||||
attraction: false,
|
attraction: false,
|
||||||
viewpoint: false,
|
viewpoint: false,
|
||||||
accommodation: true,
|
hotel: true,
|
||||||
|
campsite: true,
|
||||||
|
hut: true,
|
||||||
summit: true,
|
summit: true,
|
||||||
pass: true,
|
pass: true,
|
||||||
climbing: false
|
climbing: false
|
||||||
@@ -926,13 +932,31 @@ export const overpassQueryData: Record<string, OverpassQueryData> = {
|
|||||||
tourism: "viewpoint"
|
tourism: "viewpoint"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
accommodation: {
|
hotel: {
|
||||||
icon: {
|
icon: {
|
||||||
svg: Bed,
|
svg: Bed,
|
||||||
color: "#e6c100",
|
color: "#e6c100",
|
||||||
},
|
},
|
||||||
tags: {
|
tags: {
|
||||||
tourism: ["hotel", "hostel", "guest_house", "motel", "camp_site", "alpine_hut", "wilderness_hut"]
|
tourism: ["hotel", "hostel", "guest_house", "motel"]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
campsite: {
|
||||||
|
icon: {
|
||||||
|
svg: Tent,
|
||||||
|
color: "#e6c100",
|
||||||
|
},
|
||||||
|
tags: {
|
||||||
|
tourism: "camp_site"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
hut: {
|
||||||
|
icon: {
|
||||||
|
svg: House,
|
||||||
|
color: "#e6c100",
|
||||||
|
},
|
||||||
|
tags: {
|
||||||
|
tourism: ["alpine_hut", "wilderness_hut"]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
summit: {
|
summit: {
|
||||||
|
@@ -302,7 +302,9 @@
|
|||||||
"tourism": "Tourism",
|
"tourism": "Tourism",
|
||||||
"attraction": "Attraction",
|
"attraction": "Attraction",
|
||||||
"viewpoint": "Viewpoint",
|
"viewpoint": "Viewpoint",
|
||||||
"accommodation": "Accommodation",
|
"hotel": "Hotel",
|
||||||
|
"campsite": "Campsite",
|
||||||
|
"hut": "Hut",
|
||||||
"summit": "Summit",
|
"summit": "Summit",
|
||||||
"pass": "Pass",
|
"pass": "Pass",
|
||||||
"climbing": "Climbing",
|
"climbing": "Climbing",
|
||||||
|
Reference in New Issue
Block a user