diff --git a/assets/layers/brothel/brothel.json b/assets/layers/brothel/brothel.json new file mode 100644 index 0000000000..d8abcce377 --- /dev/null +++ b/assets/layers/brothel/brothel.json @@ -0,0 +1,92 @@ +{ + "id": "brothel", + "name": { + "en": "Brothels" + }, + "description": { + "en": "An establishment specifically dedicated to prostitution. " + }, + "source": { + "osmTags": "amenity=brothel" + }, + "minzoom": 6, + "title": { + "render": { + "en": "Brothel" + }, + "mappings": [ + { + "if": "name~*", + "then": { + "*": "{name}" + } + } + ] + }, + "pointRendering": [ + { + "location": [ + "point", + "centroid" + ], + "marker": [ + { + "icon": "circle", + "color": "white" + }, + { + "icon": "ring", + "color": "#fc6488" + } + ] + }, + { + "location": [ + "centroid", + "point" + ], + "marker": [ + { + "icon": "heart", + "color": "#fc6488" + } + ], + "iconSize": "28,28" + } + ], + "presets": [ + { + "title": { + "en": "a brothel" + }, + "tags": [ + "amenity=brothel" + ] + } + ], + "tagRenderings": [ + "images", + "reviews", + { + "multiAnswer": false, + "id": "name", + "freeform": { + "inline": false, + "key": "name" + }, + "question": { + "en": "What is the name of this brothel?" + }, + "render": { + "en": "This brothel is named {name}" + } + }, + "opening_hours", + "contact" + ], + "deletion": { + "omitDefaultDeleteReasons": false + }, + "allowMove": true, + "allowSplit": false +} diff --git a/assets/layers/cinema/cinema.json b/assets/layers/cinema/cinema.json new file mode 100644 index 0000000000..fc781267ef --- /dev/null +++ b/assets/layers/cinema/cinema.json @@ -0,0 +1,70 @@ +{ + "id": "cinema", + "name": { + "en": "Cinema" + }, + "description": { + "en": " A place showing movies (films), generally open to the public for a fee. Commonly referred to as a movie theater in the US" + }, + "source": { + "osmTags": "amenity=cinema" + }, + "minzoom": 10, + "title": { + "mappings": [ + { + "if": "name~*", + "then": { + "*": "{name}" + } + } + ], + "render": { + "en": "Cinema" + } + }, + "pointRendering": [ + { + "location": [ + "point", + "centroid" + ], + "marker": [ + { + "icon": "circle", + "color": "white" + }, + { + "icon": "./assets/layers/cinema/cinema.svg" + } + ], + "iconBadges": [] + } + ], + "tagRenderings": [ + "images", + "reviews", + "contact", + "wikipedia", + { + "id": "cinema_type", + "question": { + "en": "What type of cinema is this?" + }, + "mappings": [ + { + "if": "cinema=", + "then": { + "en": "This is a normal cinema showing movies for all ages" + } + }, + { + "if": "cinema=erotic", + "then": { + "en": "This is an erotic cinema showing adult movies" + } + } + ] + } + ] +} diff --git a/assets/layers/cinema/cinema.svg b/assets/layers/cinema/cinema.svg new file mode 100644 index 0000000000..b9dff440ad --- /dev/null +++ b/assets/layers/cinema/cinema.svg @@ -0,0 +1,25 @@ + + + + + + image/svg+xml + + + + + + + + + diff --git a/assets/layers/cinema/cinema.svg.license b/assets/layers/cinema/cinema.svg.license new file mode 100644 index 0000000000..93c4753033 --- /dev/null +++ b/assets/layers/cinema/cinema.svg.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: OSM Carto +SPDX-License-Identifier: PUBLIC-DOMAIN \ No newline at end of file diff --git a/assets/layers/cinema/license_info.json b/assets/layers/cinema/license_info.json new file mode 100644 index 0000000000..23eb48847c --- /dev/null +++ b/assets/layers/cinema/license_info.json @@ -0,0 +1,12 @@ +[ + { + "path": "cinema.svg", + "license": "PUBLIC-DOMAIN", + "authors": [ + "OSM Carto" + ], + "sources": [ + "https://wiki.openstreetmap.org/wiki/File:Cinema-16.svg" + ] + } +] \ No newline at end of file diff --git a/assets/layers/stripclub/license_info.json b/assets/layers/stripclub/license_info.json new file mode 100644 index 0000000000..784c725870 --- /dev/null +++ b/assets/layers/stripclub/license_info.json @@ -0,0 +1,12 @@ +[ + { + "path": "stripclub.svg", + "license": "PUBLIC-DOMAIN", + "authors": [ + "Unkown" + ], + "sources": [ + "https://publicdomainpictures.net/en/view-image.php?image=120141&picture=" + ] + } +] \ No newline at end of file diff --git a/assets/layers/stripclub/stripclub.json b/assets/layers/stripclub/stripclub.json new file mode 100644 index 0000000000..ca99c11003 --- /dev/null +++ b/assets/layers/stripclub/stripclub.json @@ -0,0 +1,86 @@ +{ + "id": "stripclub", + "name": { + "en": "Stripclubs" + }, + "description": { + "en": "A venue where erotic dance, striptease, or lap dances are performed commercially. " + }, + "source": { + "osmTags": "amenity=stripclub", + "isOsmCache": false + }, + "minzoom": 6, + "title": { + "render": { + "en": "Stripclub" + }, + "mappings": [ + { + "if": "name~*", + "then": { + "*": "{name}" + } + } + ] + }, + "pointRendering": [ + { + "location": [ + "point", + "centroid" + ], + "marker": [ + { + "icon": "circle", + "color": "white" + }, + { + "icon": "ring", + "color": "#be57b4ff" + } + ] + }, + { + "location": [ + "point", + "centroid" + ], + "marker": [ + { + "icon": "./assets/layers/stripclub/stripclub.svg" + } + ] + } + ], + "presets": [ + { + "title": { + "en": "a stripclub" + }, + "tags": [ + "amenity=stripclub" + ] + } + ], + "tagRenderings": [ + "images", + "reviews", + { + "multiAnswer": false, + "id": "name", + "freeform": { + "inline": false, + "key": "name" + }, + "question": { + "en": "What is the name of this stripclub?" + }, + "render": { + "en": "This stripclub is named {name}" + } + }, + "opening_hours", + "contact" + ] +} diff --git a/assets/layers/stripclub/stripclub.svg b/assets/layers/stripclub/stripclub.svg new file mode 100644 index 0000000000..1aa0a48385 --- /dev/null +++ b/assets/layers/stripclub/stripclub.svg @@ -0,0 +1,42 @@ + + + + diff --git a/assets/layers/stripclub/stripclub.svg.license b/assets/layers/stripclub/stripclub.svg.license new file mode 100644 index 0000000000..ffb5e3c053 --- /dev/null +++ b/assets/layers/stripclub/stripclub.svg.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Unkown +SPDX-License-Identifier: PUBLIC-DOMAIN \ No newline at end of file diff --git a/assets/themes/mapcomplete-changes/mapcomplete-changes.json b/assets/themes/mapcomplete-changes/mapcomplete-changes.json index 2dd587e79b..34c26c37b0 100644 --- a/assets/themes/mapcomplete-changes/mapcomplete-changes.json +++ b/assets/themes/mapcomplete-changes/mapcomplete-changes.json @@ -3,14 +3,19 @@ "title": { "en": "Changes made with MapComplete" }, - "description": { - "en": "This maps shows all the changes made with MapComplete" - }, "shortDescription": { "en": "Shows changes made by MapComplete" }, + "description": { + "en": "This maps shows all the changes made with MapComplete" + }, "icon": "./assets/svg/logo.svg", "hideFromOverview": true, + "startLat": 0, + "startLon": 0, + "startZoom": 1, + "widenFactor": 0.05, + "clustering": false, "layers": [ { "id": "mapcomplete-changes", @@ -311,6 +316,10 @@ "if": "theme=onwheels", "then": "./assets/themes/onwheels/crest.svg" }, + { + "if": "theme=openlovemap", + "then": "./assets/layers/stripclub/stripclub.svg" + }, { "if": "theme=openwindpowermap", "then": "./assets/themes/openwindpowermap/logo.svg" @@ -650,7 +659,5 @@ ] } } - ], - "widenFactor": 0.05, - "clustering": false + ] } \ No newline at end of file diff --git a/assets/themes/openlovemap/openlovemap.json b/assets/themes/openlovemap/openlovemap.json new file mode 100644 index 0000000000..ef6ca97339 --- /dev/null +++ b/assets/themes/openlovemap/openlovemap.json @@ -0,0 +1,209 @@ +{ + "id": "openlovemap", + "title": { + "en": "Open Love Map" + }, + "description": { + "en": "

Love in the palm of your hand

Open Love Map lists various adult entries, such as brothels, erotic stores and stripclubs." + }, + "icon": "./assets/layers/stripclub/stripclub.svg", + "layers": [ + "brothel", + "stripclub", + { + "builtin": "shops", + "override": { + "id": "erotic-shop", + "source": { + "osmTags": "shop=erotic" + }, + "minzoom": 6, + "=filter": [ + "open_now" + ], + "=presets": [ + { + "title": { + "en": "an erotic shop" + }, + "tags": [ + "shop=erotic" + ] + } + ] + } + }, + { + "builtin": "shops", + "override": { + "minzoom": 18, + "=presets": [], + "=name": null + } + }, + { + "builtin": "vending_machine", + "override": { + "id": "condom_vending_machine", + "pointRendering": [ + { + "marker": [ + { + "icon": "circle", + "color": "white" + }, + { + "icon": "ring", + "color": "black" + } + ], + "location": [ + "centroid", + "point" + ], + "iconSize": "40,40", + "anchor": "center" + }, + { + "marker": [ + { + "icon": "./assets/layers/vending_machine/condom.svg" + } + ], + "location": [ + "centroid", + "point" + ], + "iconSize": "26,26", + "anchor": "center" + } + ], + "=filter": [ + "open_now" + ], + "source": { + "osmTags": { + "=and": [ + "amenity=vending_machine", + "vending=condoms" + ] + } + }, + "minzoom": 6, + "=presets": [ + { + "title": { + "en": "a condom vending machine" + }, + "tags": [ + "amenity=vending_machine", + "vending=condoms" + ] + } + ] + } + }, + { + "builtin": "vending_machine", + "override": { + "minzoom": 18, + "=presets": [], + "=name": null + } + }, + + { + "builtin": "cinema", + "hideTagRenderingsWithLabels": ["wikipedia"], + "override": { + "id": "erotic_cinema", + "pointRendering": [ + { + "marker": [ + { + "icon": "circle", + "color": "white" + }, + { + "icon": "ring", + "color": "#734a08" + } + ], + "location": [ + "centroid", + "point" + ], + "iconSize": "40,40", + "anchor": "center" + }, + { + "marker": [ + { + "icon": "./assets/layers/cinema/cinema.svg" + } + ], + "location": [ + "centroid", + "point" + ], + "iconSize": "26,26", + "anchor": "center" + } + ], + "=filter": [ + "open_now" + ], + "tagRenderings+": ["opening_hours"], + "source": { + "osmTags": { + "=and": [ + "amenity=cinema", + "cinema=erotic" + ] + } + }, + "minzoom": 6, + "=presets": [ + { + "title": { + "en": "an erotic cinema" + }, + "tags": [ + "amenity=cinema", + "cinema=erotic" + ] + } + ] + } + }, + { + "builtin": "cinema", + "override": { + "minzoom": 18, + "=presets": [], + "=name": null + } + } + ], + "overrideAll": { + "tagRenderings+": [{ + "id": "has_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" + }, + { + "if": "service:private_video_booth=no", + "then": "No private video booths" + } + ] + }] + } +}