-
-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
238de89
commit 932712e
Showing
4 changed files
with
237 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
[ | ||
{ | ||
"path": "shower.svg", | ||
"license": "CC0", | ||
"authors": [ | ||
"James" | ||
], | ||
"sources": [ | ||
"https://github.com/gravitystorm/openstreetmap-carto/blob/master/symbols/amenity/shower.svg" | ||
] | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,136 @@ | ||
{ | ||
"id": "shower", | ||
"name": { | ||
"en": "Shower" | ||
}, | ||
"minzoom": 12, | ||
"source": { | ||
"osmTags": "amenity=shower" | ||
}, | ||
"title": { | ||
"render": { | ||
"en": "Shower" | ||
} | ||
}, | ||
"presets": [], | ||
"tagRenderings": [ | ||
"images", | ||
"level", | ||
{ | ||
"id": "access", | ||
"question": { | ||
"en": "Who can use this shower?" | ||
}, | ||
"mappings": [ | ||
{ | ||
"if": "access=yes", | ||
"then": { | ||
"en": "Anyone can use this shower" | ||
} | ||
}, | ||
{ | ||
"if": "access=customers", | ||
"then": { | ||
"en": "Only customers can use this shower" | ||
} | ||
}, | ||
{ | ||
"if": "access=key", | ||
"then": { | ||
"en": "Accesible, but one has to ask for a key" | ||
} | ||
} | ||
] | ||
}, | ||
{ | ||
"id": "fee", | ||
"question": { | ||
"en": "Is there a fee for using this shower?" | ||
}, | ||
"mappings": [ | ||
{ | ||
"if": "fee=yes", | ||
"then": { | ||
"en": "There is a fee for using this shower" | ||
} | ||
}, | ||
{ | ||
"if": "fee=no", | ||
"then": { | ||
"en": "This shower is free to use" | ||
} | ||
} | ||
] | ||
}, | ||
{ | ||
"id": "charge", | ||
"condition": "fee=yes", | ||
"question": { | ||
"en": "How much does it cost to use this shower?" | ||
}, | ||
"freeform": { | ||
"key": "charge", | ||
"type": "string", | ||
"placeholder": { | ||
"en": "e.g. 1€" | ||
} | ||
}, | ||
"render": { | ||
"en": "It costs {charge} to use this shower" | ||
} | ||
}, | ||
"opening_hours", | ||
{ | ||
"id": "hot_water", | ||
"question": { | ||
"en": "Does this shower have hot water available?" | ||
}, | ||
"mappings": [ | ||
{ | ||
"if": "hot_water=yes", | ||
"then": { | ||
"en": "Hot water is available here" | ||
} | ||
}, | ||
{ | ||
"if": "hot_water=fee", | ||
"then": { | ||
"en": "Hot water is available here, but there is a fee" | ||
} | ||
}, | ||
{ | ||
"if": "hot_water=no", | ||
"then": { | ||
"en": "There is no hot water available here" | ||
} | ||
} | ||
] | ||
} | ||
], | ||
"filter": [], | ||
"deletion": { | ||
"softDeletionTags": { | ||
"and": [ | ||
"disused:amenity={amenity}", | ||
"amenity=" | ||
] | ||
}, | ||
"neededChangesets": 1 | ||
}, | ||
"allowMove": { | ||
"enableImproveAccuracy": true, | ||
"enableRelocation": false | ||
}, | ||
"mapRendering": [ | ||
{ | ||
"icon": "circle:white;./assets/layers/shower/shower.svg", | ||
"location": [ | ||
"point", | ||
"centroid" | ||
] | ||
} | ||
], | ||
"description": { | ||
"en": "A layer showing (public) showers" | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters