@dra2020/baseclient 1.0.96 → 1.0.97
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 +4 -1
- package/dist/baseclient.js.map +1 -1
- package/lib/geo/geo.ts +4 -1
- package/package.json +1 -1
package/dist/baseclient.js
CHANGED
|
@@ -2692,7 +2692,10 @@ class GeoMultiCollection {
|
|
|
2692
2692
|
else {
|
|
2693
2693
|
let map = {};
|
|
2694
2694
|
this.all.map = map;
|
|
2695
|
-
this.
|
|
2695
|
+
this.forEachEntry(e => {
|
|
2696
|
+
let col = this._col(e); // this ensures we convert feature geometry from topo to polygon
|
|
2697
|
+
col.features.forEach(f => { map[String(f.properties.id)] = f; });
|
|
2698
|
+
});
|
|
2696
2699
|
}
|
|
2697
2700
|
}
|
|
2698
2701
|
return this.all.map;
|