@dra2020/baseclient 1.0.97 → 1.0.98
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/baseclient.js +6 -2
- package/dist/baseclient.js.map +1 -1
- package/lib/geo/geo.ts +6 -2
- package/package.json +1 -1
package/lib/geo/geo.ts
CHANGED
|
@@ -443,8 +443,12 @@ export class GeoMultiCollection
|
|
|
443
443
|
let map: GeoFeatureMap = {};
|
|
444
444
|
this.all.map = map;
|
|
445
445
|
this.forEachEntry(e => {
|
|
446
|
-
let col = this._col(e); //
|
|
447
|
-
col.features.forEach(f => {
|
|
446
|
+
let col = this._col(e); // convert feature geometry from topo to polygon
|
|
447
|
+
col.features.forEach(f => {
|
|
448
|
+
let id = f.properties.id;
|
|
449
|
+
if (! this.hidden[id])
|
|
450
|
+
map[id] = f;
|
|
451
|
+
});
|
|
448
452
|
});
|
|
449
453
|
}
|
|
450
454
|
}
|