mapcomplete/assets/layers/map/map.json
2021-05-28 12:42:59 +02:00

198 lines
No EOL
5 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"id": "map",
"name": {
"en": "Maps",
"nl": "Kaarten",
"it": "Mappe"
},
"minzoom": 12,
"source": {
"osmTags": {
"or": [
"tourism=map",
"information=map"
]
}
},
"title": {
"render": {
"en": "Map",
"nl": "Kaart",
"it": "Mappa"
}
},
"description": {
"en": "A map, meant for tourists which is permanently installed in the public space",
"nl": "Een permantent geinstalleerde kaart",
"it": "Una mappa, destinata ai turisti e che è sistemata in maniera permanente in uno spazio pubblico"
},
"tagRenderings": [
"images",
{
"question": {
"en": "On which data is this map based?",
"nl": "Op welke data is deze kaart gebaseerd?",
"it": "Su quali dati si basa questa mappa?"
},
"mappings": [
{
"if": {
"and": [
"map_source=OpenStreetMap",
"not:map_source="
]
},
"then": {
"en": "This map is based on OpenStreetMap",
"nl": "Deze kaart is gebaseerd op OpenStreetMap",
"it": "Questa mappa si basa su OpenStreetMap"
}
}
],
"freeform": {
"key": "map_source"
},
"render": {
"en": "This map is based on {map_source}",
"nl": "Deze kaart is gebaseerd op {map_source}",
"it": "Questa mappa si basa su {map_source}"
}
},
{
"question": {
"en": "Is the OpenStreetMap-attribution given?",
"nl": "Is de attributie voor OpenStreetMap aanwezig?",
"it": "Lattribuzione a OpenStreetMap è presente?"
},
"mappings": [
{
"if": {
"and": [
"map_source:attribution=yes"
]
},
"then": {
"en": "OpenStreetMap is clearly attributed, including the ODBL-license",
"nl": "De OpenStreetMap-attributie is duidelijk aangegeven, zelf met vermelding van \"ODBL\" ",
"it": "Lattribuzione a OpenStreetMap è chiaramente specificata, inclusa la licenza ODBL"
}
},
{
"if": {
"and": [
"map_source:attribution=incomplete"
]
},
"then": {
"en": "OpenStreetMap is clearly attributed, but the license is not mentioned",
"nl": "OpenStreetMap is duidelijk aangegeven, maar de licentievermelding ontbreekt",
"it": "Lattribuzione a OpenStreetMap è chiaramente specificata ma la licenza non compare"
}
},
{
"if": {
"and": [
"map_source:attribution=sticker"
]
},
"then": {
"en": "OpenStreetMap wasn't mentioned, but someone put an OpenStreetMap-sticker on it",
"nl": "OpenStreetMap was oorspronkelijk niet aangeduid, maar iemand plaatste er een sticker",
"it": "Non era presente alcun cenno a OpenStreetMap ma qualcuno vi ha attaccato un adesivo di OpenStreetMap"
}
},
{
"if": {
"and": [
"map_source:attribution=none"
]
},
"then": {
"en": "There is no attribution at all",
"nl": "Er is geen attributie",
"it": "Non cè alcuna attribuzione"
}
},
{
"if": {
"and": [
"map_source:attribution=no"
]
},
"then": {
"nl": "Er is geen attributie",
"en": "There is no attribution at all",
"it": "Non cè alcuna attribuzione"
},
"hideInAnswer": true
}
],
"condition": {
"or": [
"map_source~(O|)pen(S|s)treet(M|m)ap",
"map_source=osm",
"map_source=OSM"
]
}
}
],
"hideUnderlayingFeaturesMinPercentage": 0,
"icon": {
"render": "./assets/layers/map/map.svg",
"mappings": [
{
"if": {
"and": [
"map_source=OpenStreetMap",
"map_source:attribution=sticker"
]
},
"then": "./assets/layers/map/map-stickered.svg"
},
{
"if": {
"and": [
"map_source=OpenStreetMap",
"map_source:attribution=yes"
]
},
"then": "./assets/layers/map/osm-logo-white-bg.svg"
},
{
"if": {
"and": [
"map_source=OpenStreetMap"
]
},
"then": "./assets/layers/map/osm-logo-buggy-attr.svg"
}
]
},
"width": {
"render": "8"
},
"iconSize": {
"render": "50,50,center"
},
"color": {
"render": "#00f"
},
"presets": [
{
"tags": [
"tourism=map"
],
"title": {
"en": "Map",
"nl": "Kaart",
"it": "Mappa"
},
"description": {
"en": "Add a missing map",
"nl": "Voeg een ontbrekende kaart toe",
"it": "Aggiungi una mappa mancante"
}
}
],
"wayHandling": 2
}