@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/dist/baseclient.js
CHANGED
|
@@ -2693,8 +2693,12 @@ class GeoMultiCollection {
|
|
|
2693
2693
|
let map = {};
|
|
2694
2694
|
this.all.map = map;
|
|
2695
2695
|
this.forEachEntry(e => {
|
|
2696
|
-
let col = this._col(e); //
|
|
2697
|
-
col.features.forEach(f => {
|
|
2696
|
+
let col = this._col(e); // convert feature geometry from topo to polygon
|
|
2697
|
+
col.features.forEach(f => {
|
|
2698
|
+
let id = f.properties.id;
|
|
2699
|
+
if (!this.hidden[id])
|
|
2700
|
+
map[id] = f;
|
|
2701
|
+
});
|
|
2698
2702
|
});
|
|
2699
2703
|
}
|
|
2700
2704
|
}
|