mirror of
https://github.com/CIMEngine/cimengine-build-tools.git
synced 2024-11-22 04:06:20 +03:00
Update GeoBuilder.js
This commit is contained in:
parent
5ba8c2b8b6
commit
c3e82fe830
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue