mapcomplete/assets/layers/map/map.json
2021-06-04 17:23:17 +02:00

213 lines
No EOL
5.7 KiB
JSON
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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",
"ru": "Карты",
"fr": "Cartes"
},
"minzoom": 12,
"source": {
"osmTags": {
"or": [
"tourism=map",
"information=map"
]
}
},
"title": {
"render": {
"en": "Map",
"nl": "Kaart",
"it": "Mappa",
"ru": "Карта",
"fr": "Carte"
}
},
"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",
"fr": "Une carte, destinée aux touristes, installée en permanence dans l'espace public"
},
"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?",
"fr": "Sur quelles données cette carte est-elle basée ?"
},
"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",
"ru": "Эта карта основана на OpenStreetMap",
"fr": "Cette carte est basée sur 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}",
"ru": "Эта карта основана на {map_source}",
"fr": "Cette carte est basée sur {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",
"fr": "Il n'y a aucune attribution"
}
},
{
"if": {
"and": [
"map_source:attribution=no"
]
},
"then": {
"nl": "Er is geen attributie",
"en": "There is no attribution at all",
"it": "Non cè alcuna attribuzione",
"fr": "Il n'y a aucune attribution"
},
"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",
"ru": "Карта",
"fr": "Carte"
},
"description": {
"en": "Add a missing map",
"nl": "Voeg een ontbrekende kaart toe",
"it": "Aggiungi una mappa mancante",
"fr": "Ajouter une carte manquante"
}
}
],
"wayHandling": 2
}