|
@ -1,27 +0,0 @@ |
|
|
type: overpass |
|
|
|
|
|
# Adding a category name (in English: "Example 3") |
|
|
|
|
|
name: |
|
|
|
|
|
en: Example 3 |
|
|
|
|
|
query: |
|
|
|
|
|
15: nwr[amenity=fountain] |
|
|
|
|
|
# This query uses a regular expression to match either fountain or drinking_water: |
|
|
|
|
|
17: nwr[amenity~"^(fountain|drinking_water)$"] |
|
|
|
|
|
feature: |
|
|
|
|
|
description: | |
|
|
|
|
|
{{ tagTrans('amenity', tags.amenity) }} |
|
|
|
|
|
# Here, the correct icon for display is read from the 'const' structure |
|
|
|
|
|
markerSign: | |
|
|
|
|
|
{{ const[tags.amenity].icon }} |
|
|
|
|
|
# We can use different markers depending on the type of item |
|
|
|
|
|
markerSymbol: | |
|
|
|
|
|
{{ markerPointer({ fillColor: const[tags.amenity].color }) }} |
|
|
|
|
|
# This is for the marker in the listing in the sidebar |
|
|
|
|
|
listMarkerSymbol: | |
|
|
|
|
|
{{ markerCircle({ fillColor: const[tags.amenity].color }) }} |
|
|
|
|
|
const: |
|
|
|
|
|
fountain: |
|
|
|
|
|
icon: ⛲ |
|
|
|
|
|
color: '#0000ff' # need to quote, because YAML would treat the color as comment |
|
|
|
|
|
drinking_water: |
|
|
|
|
|
icon: 🚰 |
|
|
|
|
|
color: '#007fff' |
|
|
|