diff --git a/Logic/FeatureSource/Sources/GeoJsonSource.ts b/Logic/FeatureSource/Sources/GeoJsonSource.ts index 9763e089f3..df7270255c 100644 --- a/Logic/FeatureSource/Sources/GeoJsonSource.ts +++ b/Logic/FeatureSource/Sources/GeoJsonSource.ts @@ -95,6 +95,11 @@ export default class GeoJsonSource implements FeatureSourceForLayer, Tiled { for (const feature of json.features) { const props = feature.properties for (const key in props) { + + if(props[key] === null){ + delete props[key] + } + if (typeof props[key] !== "string") { // Make sure all the values are string, it crashes stuff otherwise props[key] = JSON.stringify(props[key]) diff --git a/assets/themes/uk_addresses/uk_addresses.json b/assets/themes/uk_addresses/uk_addresses.json index c7ec66fd8d..8737ddebaa 100644 --- a/assets/themes/uk_addresses/uk_addresses.json +++ b/assets/themes/uk_addresses/uk_addresses.json @@ -90,7 +90,7 @@ "isOsmCache": false }, "name": "Addresses to check", - "minzoom": 14, + "minzoom": 18, "title": { "render": { "en": "This address needs adding" @@ -140,6 +140,7 @@ "options": [ { "question": "Only show non-matched objects", + "default": true, "osmTags": { "and": [ "_imported=",