Update GeoBuilder.js

This commit is contained in:
Artemy 2023-11-24 14:30:31 +03:00
parent 5ba8c2b8b6
commit c3e82fe830

View file

@ -71,7 +71,7 @@ for (country of layers) {
features.unshift( features.unshift(
...co_features.map((val) => { ...co_features.map((val) => {
if (val.geometry.type == "Polygon") { if (val.geometry.type == "Polygon") {
val.properties = properties; val.properties = properties || {};
val.properties.name = country; val.properties.name = country;
} }