Skip to content

Commit

Permalink
add shetler and picnic site POIs, #34
Browse files Browse the repository at this point in the history
  • Loading branch information
vcoppe committed Aug 11, 2024
1 parent bee1bd9 commit 6225701
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
26 changes: 26 additions & 0 deletions website/src/lib/assets/layers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -523,6 +523,7 @@ export const overpassTree: LayerTreeType = {
toilets: true,
"water": true,
shower: true,
shelter: true,
barrier: true
},
tourism: {
Expand All @@ -531,6 +532,7 @@ export const overpassTree: LayerTreeType = {
hotel: true,
campsite: true,
hut: true,
picnic: true,
summit: true,
pass: true,
climbing: true,
Expand Down Expand Up @@ -605,6 +607,7 @@ export const defaultOverpassQueries: LayerTreeType = {
toilets: false,
"water": false,
shower: false,
shelter: false,
barrier: false
},
tourism: {
Expand All @@ -613,6 +616,7 @@ export const defaultOverpassQueries: LayerTreeType = {
hotel: false,
campsite: false,
hut: false,
picnic: false,
summit: false,
pass: false,
climbing: false
Expand Down Expand Up @@ -739,6 +743,7 @@ export const defaultOverpassTree: LayerTreeType = {
toilets: true,
"water": true,
shower: false,
shelter: false,
barrier: false
},
tourism: {
Expand All @@ -747,6 +752,7 @@ export const defaultOverpassTree: LayerTreeType = {
hotel: true,
campsite: true,
hut: true,
picnic: false,
summit: true,
pass: true,
climbing: false
Expand Down Expand Up @@ -852,6 +858,16 @@ export const overpassQueryData: Record<string, OverpassQueryData> = {
},
symbol: "Shower"
},
shelter: {
icon: {
svg: House,
color: "#000000",
},
tags: {
amenity: "shelter"
},
symbol: "House"
},
"fuel-station": {
icon: {
svg: Fuel,
Expand Down Expand Up @@ -940,6 +956,16 @@ export const overpassQueryData: Record<string, OverpassQueryData> = {
},
symbol: "Lodge"
},
picnic: {
icon: {
svg: Utensils,
color: "Green",
},
tags: {
tourism: "picnic_site"
},
symbol: "Picnic Area"
},
summit: {
icon: {
svg: Mountain,
Expand Down
2 changes: 2 additions & 0 deletions website/src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@
"toilets": "Toilets",
"water": "Water",
"shower": "Shower",
"shelter": "Shelter",
"motorized": "Cars and Motorcycles",
"fuel-station": "Fuel Station",
"parking": "Parking",
Expand All @@ -307,6 +308,7 @@
"hotel": "Hotel",
"campsite": "Campsite",
"hut": "Hut",
"picnic": "Picnic Area",
"summit": "Summit",
"pass": "Pass",
"climbing": "Climbing",
Expand Down

0 comments on commit 6225701

Please sign in to comment.