From c3e82fe830ea7b7bbe524fd5f907cc5036d08e1a Mon Sep 17 00:00:00 2001 From: Artemy Date: Fri, 24 Nov 2023 14:30:31 +0300 Subject: [PATCH] Update GeoBuilder.js --- tools/GeoBuilder.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/GeoBuilder.js b/tools/GeoBuilder.js index 485df82..b5d6e22 100644 --- a/tools/GeoBuilder.js +++ b/tools/GeoBuilder.js @@ -71,7 +71,7 @@ for (country of layers) { features.unshift( ...co_features.map((val) => { if (val.geometry.type == "Polygon") { - val.properties = properties; + val.properties = properties || {}; val.properties.name = country; }