From 92bbfa2279ea5a1eab065b62e60ccb7b2924801d Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Mon, 11 Oct 2021 22:55:11 +0200 Subject: [PATCH] Small tweaks to the postboxes theme --- assets/themes/postboxes/postboxes.json | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/assets/themes/postboxes/postboxes.json b/assets/themes/postboxes/postboxes.json index 69425a32e0..ba7543274e 100644 --- a/assets/themes/postboxes/postboxes.json +++ b/assets/themes/postboxes/postboxes.json @@ -19,16 +19,16 @@ "startLon": 9.9937, "startZoom": 13, "widenFactor": 1.0, - "socialImage": "", + "defaultBackgroundId": "CartoDB.Voyager", "clustering": { - "minNeededFeatures": 100, - "maxZoom": 14 + "maxZoom": 14, + "minNeededObjects": 100 }, "layers": [ { "id": "postboxes", "name": { - "en": "Postbox" + "en": "Postboxes" }, "minzoom": 12, "source": { @@ -71,12 +71,20 @@ } } ], - "wayHandling": 2 + "wayHandling": 2, + "deletion": { + "softDeletion": { + "and": [ + "amenity=", + "razed:amenity=post_box" + ] + } + } }, { "id": "postoffices", "name": { - "en": "A layer containing post offices" + "en": "Post offices" }, "minzoom": 12, "source": {