forked from MapComplete/MapComplete
Chore: lint themes
This commit is contained in:
parent
d4895a0989
commit
9b983757c2
4 changed files with 82 additions and 66 deletions
|
@ -547,6 +547,10 @@
|
||||||
},
|
},
|
||||||
"images"
|
"images"
|
||||||
],
|
],
|
||||||
|
"allowMove": {
|
||||||
|
"enableRelocation": false,
|
||||||
|
"enableImproveAccuracy": true
|
||||||
|
},
|
||||||
"units": [
|
"units": [
|
||||||
{
|
{
|
||||||
"fire_hydrant:diameter": {
|
"fire_hydrant:diameter": {
|
||||||
|
@ -556,9 +560,5 @@
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
]
|
||||||
"allowMove": {
|
|
||||||
"enableRelocation": false,
|
|
||||||
"enableImproveAccuracy": true
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,20 @@
|
||||||
{
|
{
|
||||||
"credits": "Asteliks",
|
"id": "love_hotel",
|
||||||
|
"name": {
|
||||||
|
"en": "Love hotels"
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"en": "A love hotel is a type of short-stay hotel found around the world operated primarily for the purpose of allowing guests privacy for sexual activities"
|
||||||
|
},
|
||||||
|
"source": {
|
||||||
|
"osmTags": "amenity=love_hotel"
|
||||||
|
},
|
||||||
"minzoom": 10,
|
"minzoom": 10,
|
||||||
|
"title": {
|
||||||
|
"render": {
|
||||||
|
"en": "Love Hotel <i>{name}</i>"
|
||||||
|
}
|
||||||
|
},
|
||||||
"pointRendering": [
|
"pointRendering": [
|
||||||
{
|
{
|
||||||
"location": [
|
"location": [
|
||||||
|
@ -31,6 +45,20 @@
|
||||||
"iconSize": "27,27"
|
"iconSize": "27,27"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"lineRendering": [],
|
||||||
|
"presets": [
|
||||||
|
{
|
||||||
|
"title": {
|
||||||
|
"en": "a love hotel"
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"en": "A love hotel is a type of short-stay hotel found around the world operated primarily for the purpose of allowing guests privacy for sexual activities."
|
||||||
|
},
|
||||||
|
"tags": [
|
||||||
|
"amenity=love_hotel"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
"tagRenderings": [
|
"tagRenderings": [
|
||||||
"images",
|
"images",
|
||||||
"reviews",
|
"reviews",
|
||||||
|
@ -48,33 +76,5 @@
|
||||||
},
|
},
|
||||||
"contact"
|
"contact"
|
||||||
],
|
],
|
||||||
"lineRendering": [],
|
"credits": "Asteliks"
|
||||||
"id": "love_hotel",
|
|
||||||
"name": {
|
|
||||||
"en": "Love hotels"
|
|
||||||
},
|
|
||||||
"description": {
|
|
||||||
"en": "A love hotel is a type of short-stay hotel found around the world operated primarily for the purpose of allowing guests privacy for sexual activities"
|
|
||||||
},
|
|
||||||
"source": {
|
|
||||||
"osmTags": "amenity=love_hotel"
|
|
||||||
},
|
|
||||||
"title": {
|
|
||||||
"render": {
|
|
||||||
"en": "Love Hotel <i>{name}</i>"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"presets": [
|
|
||||||
{
|
|
||||||
"title": {
|
|
||||||
"en": "a love hotel"
|
|
||||||
},
|
|
||||||
"description": {
|
|
||||||
"en": "A love hotel is a type of short-stay hotel found around the world operated primarily for the purpose of allowing guests privacy for sexual activities."
|
|
||||||
},
|
|
||||||
"tags": [
|
|
||||||
"amenity=love_hotel"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -112,10 +112,15 @@
|
||||||
{
|
{
|
||||||
"#": "Layer icon rendering",
|
"#": "Layer icon rendering",
|
||||||
"if": {
|
"if": {
|
||||||
"or":["shop=yes", {"and": [
|
"or": [
|
||||||
"shop!=yes",
|
"shop=yes",
|
||||||
"id="
|
{
|
||||||
]}]
|
"and": [
|
||||||
|
"shop!=yes",
|
||||||
|
"id="
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"then": "./assets/layers/id_presets/maki-shop.svg"
|
"then": "./assets/layers/id_presets/maki-shop.svg"
|
||||||
},
|
},
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
{
|
{
|
||||||
"id": "openlovemap",
|
"id": "openlovemap",
|
||||||
"hideFromOverview": true,
|
|
||||||
"title": {
|
"title": {
|
||||||
"en": "Open Love Map"
|
"en": "Open Love Map"
|
||||||
},
|
},
|
||||||
|
@ -8,6 +7,7 @@
|
||||||
"en": "<p><i>Love in the palm of your hand</i></p>Open Love Map lists various adult entries, such as brothels, erotic stores and stripclubs."
|
"en": "<p><i>Love in the palm of your hand</i></p>Open Love Map lists various adult entries, such as brothels, erotic stores and stripclubs."
|
||||||
},
|
},
|
||||||
"icon": "./assets/layers/stripclub/stripclub.svg",
|
"icon": "./assets/layers/stripclub/stripclub.svg",
|
||||||
|
"hideFromOverview": true,
|
||||||
"layers": [
|
"layers": [
|
||||||
"brothel",
|
"brothel",
|
||||||
"stripclub",
|
"stripclub",
|
||||||
|
@ -115,12 +115,14 @@
|
||||||
"override": {
|
"override": {
|
||||||
"minzoom": 18,
|
"minzoom": 18,
|
||||||
"=presets": [],
|
"=presets": [],
|
||||||
"=name": null
|
"=name": null
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"builtin": "cinema",
|
"builtin": "cinema",
|
||||||
"hideTagRenderingsWithLabels": ["wikipedia"],
|
"hideTagRenderingsWithLabels": [
|
||||||
|
"wikipedia"
|
||||||
|
],
|
||||||
"override": {
|
"override": {
|
||||||
"id": "erotic_cinema",
|
"id": "erotic_cinema",
|
||||||
"pointRendering": [
|
"pointRendering": [
|
||||||
|
@ -159,7 +161,9 @@
|
||||||
"=filter": [
|
"=filter": [
|
||||||
"open_now"
|
"open_now"
|
||||||
],
|
],
|
||||||
"tagRenderings+": ["opening_hours"],
|
"tagRenderings+": [
|
||||||
|
"opening_hours"
|
||||||
|
],
|
||||||
"source": {
|
"source": {
|
||||||
"osmTags": {
|
"osmTags": {
|
||||||
"=and": [
|
"=and": [
|
||||||
|
@ -187,14 +191,14 @@
|
||||||
"override": {
|
"override": {
|
||||||
"minzoom": 18,
|
"minzoom": 18,
|
||||||
"=presets": [],
|
"=presets": [],
|
||||||
"=name": null
|
"=name": null
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"love_hotel",
|
"love_hotel",
|
||||||
{
|
{
|
||||||
"builtin": "hotel",
|
"builtin": "hotel",
|
||||||
"override": {
|
"override": {
|
||||||
"minzoom": 17,
|
"minzoom": 17,
|
||||||
"+tagRenderings": [
|
"+tagRenderings": [
|
||||||
{
|
{
|
||||||
"id": "hotel-type",
|
"id": "hotel-type",
|
||||||
|
@ -205,38 +209,45 @@
|
||||||
{
|
{
|
||||||
"if": "tourism=hotel",
|
"if": "tourism=hotel",
|
||||||
"then": "This is a regular, tourist hotel where people stay multiple days",
|
"then": "This is a regular, tourist hotel where people stay multiple days",
|
||||||
"addExtraTags": ["amenity="]
|
"addExtraTags": [
|
||||||
|
"amenity="
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"if": "amenity=love_hotel",
|
"if": "amenity=love_hotel",
|
||||||
"then": "This is a love hotel where people rent rooms for sexual activity. The hotel rent rooms for a few days",
|
"then": "This is a love hotel where people rent rooms for sexual activity. The hotel rent rooms for a few days",
|
||||||
"addExtraTags": ["tourism="]
|
"addExtraTags": [
|
||||||
|
"tourism="
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}],
|
}
|
||||||
|
],
|
||||||
"=presets": []
|
"=presets": []
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"overrideAll": {
|
"overrideAll": {
|
||||||
"tagRenderings+": [{
|
"tagRenderings+": [
|
||||||
"id": "has_video_booth",
|
{
|
||||||
"question": {"en":
|
"id": "has_video_booth",
|
||||||
"Does {title()} have a private video booth?"
|
"question": {
|
||||||
},
|
"en": "Does {title()} have a private video booth?"
|
||||||
"questionHint": {
|
|
||||||
"en": "This is for use by a single person."
|
|
||||||
},
|
|
||||||
"mappings": [
|
|
||||||
{
|
|
||||||
"if": "service:private_video_booth=yes",
|
|
||||||
"then": "Private video booths are available"
|
|
||||||
},
|
},
|
||||||
{
|
"questionHint": {
|
||||||
"if": "service:private_video_booth=no",
|
"en": "This is for use by a single person."
|
||||||
"then": "No private video booths"
|
},
|
||||||
}
|
"mappings": [
|
||||||
]
|
{
|
||||||
}]
|
"if": "service:private_video_booth=yes",
|
||||||
|
"then": "Private video booths are available"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"if": "service:private_video_booth=no",
|
||||||
|
"then": "No private video booths"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue