{
  "id": "map",
  "name": {
    "en": "Maps",
    "nl": "Kaarten",
    "it": "Mappe",
    "ru": "Карты",
    "fr": "Cartes",
    "de": "Karten",
    "ca": "Mapes",
    "es": "Mapas",
    "pa_PK": "نقشے"
  },
  "minzoom": 12,
  "source": {
    "osmTags": {
      "or": [
        "tourism=map",
        "information=map"
      ]
    }
  },
  "title": {
    "render": {
      "en": "Map",
      "nl": "Kaart",
      "it": "Mappa",
      "ru": "Карта",
      "fr": "Carte",
      "de": "Karte",
      "ca": "Mapa",
      "es": "Mapa",
      "pa_PK": "نقشہ"
    }
  },
  "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",
    "de": "Eine Karte, die für Touristen gedacht ist und dauerhaft im öffentlichen Raum aufgestellt ist",
    "es": "Un mapa, pensado para turistas y que está instalado de manera permanente en un espacio público"
  },
  "tagRenderings": [
    "images",
    {
      "labels": [
        "map"
      ],
      "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 ?",
        "de": "Auf welchen Daten basiert diese Karte?",
        "es": "¿En qué datos se basa este mapa?",
        "ca": "En quines dades es basa aquest mapa?"
      },
      "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",
            "de": "Diese Karte basiert auf OpenStreetMap",
            "es": "Este mapa se basa en OpenStreetMap",
            "ca": "Aquest mapa està basat en 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}",
        "de": "Diese Karte basiert auf {map_source}",
        "es": "Este mapa se basa en {map_source}"
      },
      "id": "map-map_source"
    },
    {
      "id": "map-attribution",
      "labels": [
        "map"
      ],
      "question": {
        "en": "Is the OpenStreetMap-attribution given?",
        "nl": "Is de attributie voor OpenStreetMap aanwezig?",
        "it": "L’attribuzione a OpenStreetMap è presente?",
        "de": "Ist die OpenStreetMap-Attribution vorhanden?",
        "fr": "L’attribution à OpenStreetMap est elle-présente ?",
        "es": "¿Hay una atribución a OpenStreetMap?"
      },
      "mappings": [
        {
          "if": {
            "and": [
              "map_source:attribution=yes"
            ]
          },
          "then": {
            "en": "OpenStreetMap is clearly attributed, including the ODBL-license",
            "nl": "De OpenStreetMap-attributie is duidelijk aangegeven, zelfs met vermelding van \"ODBL\"",
            "it": "L’attribuzione a OpenStreetMap è chiaramente specificata, inclusa la licenza ODBL",
            "de": "OpenStreetMap ist eindeutig attributiert, einschließlich der ODBL-Lizenz",
            "fr": "L’attribution est clairement inscrite ainsi que la licence ODBL",
            "es": "Se atribuye claramente a OpenStreetMap, incluyendo la licencia 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": "L’attribuzione a OpenStreetMap è chiaramente specificata ma la licenza non compare",
            "de": "OpenStreetMap ist eindeutig attributiert, aber die Lizenz wird nicht erwähnt",
            "fr": "L’attribution est clairement inscrite mais la licence est absente",
            "es": "Se atribuya claramente a OpenStreetMap, pero no se menciona la licencia"
          }
        },
        {
          "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",
            "de": "OpenStreetMap wurde nicht erwähnt, aber jemand hat einen OpenStreetMap-Aufkleber darauf geklebt",
            "fr": "OpenStreetMap n’est pas mentionné, un sticker OpenStreetMap a été collé",
            "es": "No se mencionaba OpenStreetMap, pero alguien le pegó una pegatina de 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",
            "de": "Es gibt überhaupt keine Namensnennung",
            "es": "No hay atribución"
          }
        },
        {
          "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",
            "de": "Es gibt überhaupt keine Namensnennung",
            "es": "No hay atribución"
          },
          "hideInAnswer": true
        }
      ],
      "condition": {
        "or": [
          "map_source~(O|)pen(S|s)treet(M|m)ap",
          "map_source=osm",
          "map_source=OSM"
        ]
      }
    }
  ],
  "presets": [
    {
      "tags": [
        "tourism=information",
        "information=map"
      ],
      "title": {
        "en": "a map",
        "nl": "een kaart",
        "it": "una mappa",
        "ru": "Карта",
        "fr": "une carte",
        "de": "eine Karte",
        "ca": "un mapa",
        "es": "un mapa"
      },
      "description": {
        "en": "Add a missing map",
        "nl": "Voeg een ontbrekende kaart toe",
        "it": "Aggiungi una mappa mancante",
        "fr": "Ajouter une carte manquante",
        "de": "Fehlende Karte hinzufügen",
        "ru": "Добавить отсутствующую карту",
        "es": "Añadir un mapa que falta",
        "ca": "Afegeix un mapa que falta"
      }
    }
  ],
  "deletion": {
    "softDeletionTags": {
      "and": [
        "razed:tourism:=information",
        "tourism="
      ]
    },
    "neededChangesets": 1
  },
  "allowMove": {
    "enableRelocation": false,
    "enableImproveAccuraccy": true
  },
  "mapRendering": [
    {
      "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"
          }
        ]
      },
      "iconSize": "50,50",
      "location": [
        "point",
        "centroid"
      ],
      "anchor": "center"
    },
    {
      "color": "#00f",
      "width": "8"
    }
  ]
}