{
  "id": "postboxes",
  "title": {
    "en": "Postbox and Post Office Map",
    "de": "Karte mit Briefkästen und Poststellen",
    "nb_NO": "Postboks og postkontor-kart",
    "it": "Buche delle lettere e uffici postali"
  },
  "shortDescription": {
    "en": "A map showing postboxes and post offices",
    "de": "Eine Karte die Briefkästen und Poststellen anzeigt",
    "it": "Una cartina che mostra le buche delle lettere e gli uffici postali"
  },
  "description": {
    "en": "On this map you can find and add data of post offices and post boxes. You can use this map to find where you can mail your next postcard! :)<br/>Spotted an error or is a post box missing? You can edit this map with a free OpenStreetMap account. ",
    "it": "In questa cartina puoi veder e modificare gli uffici postali e le buche delle lettere. Puoi usare questa cartina per trovare dove imbucare la tua prossima cartolina! :)<br/>Hai trovato un errore o una buca delle lettere mancante? Puoi modificare questa cartina con un account gratuito su OpenStreetMap. "
  },
  "language": [
    "en",
    "de",
    "it",
    "nb_NO"
  ],
  "maintainer": "",
  "icon": "./assets/themes/postboxes/postbox.svg",
  "version": "0",
  "startLat": 53.5511,
  "startLon": 9.9937,
  "startZoom": 13,
  "widenFactor": 1.5,
  "defaultBackgroundId": "CartoDB.Voyager",
  "clustering": {
    "maxZoom": 14,
    "minNeededElements": 100
  },
  "layers": [
    {
      "id": "postboxes",
      "name": {
        "en": "Postboxes",
        "de": "Brieflästen"
      },
      "minzoom": 12,
      "source": {
        "osmTags": "amenity=post_box"
      },
      "title": {
        "render": {
          "en": "Postbox",
          "de": "Briefkasten"
        }
      },
      "description": {
        "en": "The layer showing postboxes.",
        "de": "Die Ebene zeigt Briefkästen."
      },
      "tagRenderings": [
        "images",
        {
          "id": "minimap",
          "render": "{minimap(18): height: 5rem; overflow: hidden; border-radius:3rem; }"
        }
      ],
      "presets": [
        {
          "tags": [
            "amenity=post_box"
          ],
          "title": {
            "en": "postbox",
            "de": "Briefkasten"
          }
        }
      ],
      "deletion": {
        "softDeletionTags": {
          "and": [
            "amenity=",
            "razed:amenity=post_box"
          ]
        }
      },
      "mapRendering": [
        {
          "icon": {
            "render": "./assets/themes/postboxes/postbox.svg"
          },
          "iconSize": {
            "render": "40,40,bottom"
          },
          "location": [
            "point",
            "centroid"
          ]
        },
        {
          "color": {
            "render": "#DADADA"
          },
          "width": {
            "render": "1"
          }
        }
      ]
    },
    {
      "id": "postoffices",
      "name": {
        "en": "Post offices",
        "de": "Poststellen"
      },
      "minzoom": 12,
      "source": {
        "osmTags": "amenity=post_office"
      },
      "title": {
        "render": {
          "en": "Post Office",
          "de": "Poststelle"
        }
      },
      "description": {
        "en": "A layer showing post offices.",
        "de": "Eine Ebene mit Postämtern."
      },
      "tagRenderings": [
        "images",
        {
          "id": "minimap",
          "render": "{minimap(18): height: 5rem; overflow: hidden; border-radius:3rem; }"
        },
        {
          "render": {
            "en": "Opening Hours: {opening_hours_table()}"
          },
          "freeform": {
            "key": "opening_hours",
            "type": "opening_hours"
          },
          "question": {
            "en": "What are the opening hours for this post office?"
          },
          "mappings": [
            {
              "if": "opening_hours=24/7",
              "then": {
                "en": "24/7 opened (including holidays)",
                "de": "durchgehend geöffnet (auch an Feiertagen)"
              }
            }
          ],
          "id": "OH"
        }
      ],
      "presets": [
        {
          "tags": [
            "amenity=post_office"
          ],
          "title": {
            "en": "Post Office",
            "de": "Poststelle"
          }
        }
      ],
      "filter": [
        {
          "id": "is_open",
          "options": [
            {
              "question": {
                "en": "Currently open",
                "de": "Aktuell geöffnet"
              },
              "osmTags": "_isOpen=yes"
            }
          ]
        }
      ],
      "mapRendering": [
        {
          "icon": {
            "render": "square:white;./assets/themes/postboxes/post_office.svg"
          },
          "iconBadges": [
            {
              "if": "opening_hours~*",
              "then": "isOpen"
            }
          ],
          "iconSize": {
            "render": "40,40,bottom"
          },
          "location": [
            "point",
            "centroid"
          ]
        },
        {
          "color": {
            "render": "#DADADA"
          },
          "width": {
            "render": "1"
          }
        }
      ]
    }
  ]
}