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; }