forked from MapComplete/MapComplete
Merge develop
This commit is contained in:
commit
59356545ed
68 changed files with 1670 additions and 67 deletions
|
@ -21,6 +21,8 @@
|
|||
"startLat": 53.0565,
|
||||
"startLon": 8.7492,
|
||||
"layers": [
|
||||
"elongated_coin"
|
||||
"elongated_coin",
|
||||
"souvenir_coin",
|
||||
"souvenir_note"
|
||||
]
|
||||
}
|
179
assets/themes/ghostsigns/ghostsigns.json
Normal file
179
assets/themes/ghostsigns/ghostsigns.json
Normal file
|
@ -0,0 +1,179 @@
|
|||
{
|
||||
"id": "ghostsigns",
|
||||
"title": {
|
||||
"en": "Ghost Signs"
|
||||
},
|
||||
"description": {
|
||||
"en": "A map showing disused signs on buildings"
|
||||
},
|
||||
"icon": "./assets/themes/advertising/wall_painting.svg",
|
||||
"layers": [
|
||||
{
|
||||
"id": "ghostsigns",
|
||||
"title": {
|
||||
"render": {
|
||||
"en": "Ghost Sign"
|
||||
}
|
||||
},
|
||||
"description": {
|
||||
"en": "Layer showing disused signs on buildings"
|
||||
},
|
||||
"name": {
|
||||
"en": "Ghost Signs"
|
||||
},
|
||||
"source": {
|
||||
"osmTags": {
|
||||
"and": [
|
||||
"historic~*",
|
||||
"advertising=wall_painting"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minzoom": 10,
|
||||
"allowMove": {
|
||||
"enableImproveAccuracy": true
|
||||
},
|
||||
"tagRenderings": [
|
||||
{
|
||||
"id": "historic",
|
||||
"question": {
|
||||
"en": "Is this a ghost sign?"
|
||||
},
|
||||
"questionHint": {
|
||||
"en": "Is this sign for a business that no longer exists or no longer being maintained?"
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"if": "historic=advertising",
|
||||
"then": {
|
||||
"en": "This is a ghost sign"
|
||||
},
|
||||
"alsoShowIf": "historic=yes"
|
||||
},
|
||||
{
|
||||
"if": "historic=",
|
||||
"then": {
|
||||
"en": "This is not a ghost sign, answering this will hide the sign from the map"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"images",
|
||||
{
|
||||
"id": "name",
|
||||
"condition": "name~*",
|
||||
"render": {
|
||||
"*": "{name}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "inscription",
|
||||
"question": {
|
||||
"en": "What is the text on the sign?"
|
||||
},
|
||||
"freeform": {
|
||||
"key": "inscription",
|
||||
"type": "string",
|
||||
"placeholder": {
|
||||
"en": "Text on the sign"
|
||||
}
|
||||
},
|
||||
"render": {
|
||||
"en": "The text on the sign is: {inscription}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "brand",
|
||||
"question": {
|
||||
"en": "For what business was this sign made?"
|
||||
},
|
||||
"freeform": {
|
||||
"key": "brand",
|
||||
"type": "string",
|
||||
"placeholder": {
|
||||
"en": "Business name"
|
||||
}
|
||||
},
|
||||
"render": {
|
||||
"en": "This sign was made for: {brand}"
|
||||
}
|
||||
}
|
||||
],
|
||||
"lineRendering": [
|
||||
{
|
||||
"color": "blue",
|
||||
"width": 2
|
||||
}
|
||||
],
|
||||
"pointRendering": [
|
||||
{
|
||||
"location": [
|
||||
"point",
|
||||
"centroid"
|
||||
],
|
||||
"marker": [
|
||||
{
|
||||
"icon": "./assets/themes/advertising/wall_painting.svg"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"presets": [
|
||||
{
|
||||
"tags": [
|
||||
"historic=advertising",
|
||||
"advertising=wall_painting"
|
||||
],
|
||||
"title": {
|
||||
"en": "a ghost sign"
|
||||
},
|
||||
"snapToLayer": [
|
||||
"walls_and_buildings"
|
||||
],
|
||||
"maxSnapDistance": 5
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"builtin": "advertising",
|
||||
"override": {
|
||||
"source": {
|
||||
"osmTags": "advertising=wall_painting"
|
||||
},
|
||||
"minzoom": 18,
|
||||
"+tagRenderings": [
|
||||
{
|
||||
"id": "historic",
|
||||
"question": {
|
||||
"en": "Is this a ghost sign?"
|
||||
},
|
||||
"questionHint": {
|
||||
"en": "Is this sign for a business that no longer exists or no longer being maintained?"
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"if": "historic=advertising",
|
||||
"then": {
|
||||
"en": "This is a ghost sign"
|
||||
},
|
||||
"alsoShowIf": "historic=yes"
|
||||
},
|
||||
{
|
||||
"if": "historic=",
|
||||
"then": {
|
||||
"en": "This is not a ghost sign"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"=presets": [],
|
||||
"pointRendering": [
|
||||
{
|
||||
"iconSize": "20,20"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
|
@ -252,6 +252,10 @@
|
|||
"if": "theme=ghostbikes",
|
||||
"then": "./assets/themes/ghostbikes/logo.svg"
|
||||
},
|
||||
{
|
||||
"if": "theme=ghostsigns",
|
||||
"then": "./assets/themes/advertising/wall_painting.svg"
|
||||
},
|
||||
{
|
||||
"if": "theme=grb",
|
||||
"then": "./assets/themes/grb/logo.svg"
|
||||
|
|
|
@ -60,6 +60,7 @@
|
|||
"startLon": 4.399,
|
||||
"layers": [
|
||||
"playground",
|
||||
"playground_equipment",
|
||||
{
|
||||
"builtin": [
|
||||
"bench",
|
||||
|
|
|
@ -54,7 +54,54 @@
|
|||
"layers": [
|
||||
"postboxes",
|
||||
"postoffices",
|
||||
"parcel_lockers"
|
||||
"parcel_lockers",
|
||||
{
|
||||
"builtin": "shops",
|
||||
"override": {
|
||||
"minzoom": 18,
|
||||
"minzoomVisible": 18,
|
||||
"description": {
|
||||
"en": "Add a new post partner to the map in an existing shop"
|
||||
},
|
||||
"+tagRenderings": [
|
||||
{
|
||||
"id": "post_partner",
|
||||
"question": {
|
||||
"en": "Is this shop a post partner?"
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"if": "post_office=post_partner",
|
||||
"then": {
|
||||
"en": "This shop is a post partner"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "post_office=",
|
||||
"then": {
|
||||
"en": "This shop is not a post partner"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"shownByDefault": false,
|
||||
"=presets": [
|
||||
{
|
||||
"tags": [
|
||||
"shop=yes",
|
||||
"post_office=post_partner"
|
||||
],
|
||||
"title": {
|
||||
"en": "a missing shop that is a post partner"
|
||||
},
|
||||
"description": {
|
||||
"en": "If a shop is not yet on the map and is a post partner, you can add it here."
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"widenFactor": 1.5,
|
||||
"clustering": {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue