@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/lib/geo/geo.ts
CHANGED
|
@@ -442,7 +442,10 @@ export class GeoMultiCollection
|
|
|
442
442
|
{
|
|
443
443
|
let map: GeoFeatureMap = {};
|
|
444
444
|
this.all.map = map;
|
|
445
|
-
this.
|
|
445
|
+
this.forEachEntry(e => {
|
|
446
|
+
let col = this._col(e); // this ensures we convert feature geometry from topo to polygon
|
|
447
|
+
col.features.forEach(f => { map[String(f.properties.id)] = f });
|
|
448
|
+
});
|
|
446
449
|
}
|
|
447
450
|
}
|
|
448
451
|
return this.all.map;
|