@dra2020/baseclient 1.0.113 → 1.0.114

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/geo/geo.d.ts CHANGED
@@ -70,6 +70,7 @@ export declare class GeoMultiCollection {
70
70
  allCol(): GeoFeatureCollection;
71
71
  allMap(): GeoFeatureMap;
72
72
  allTopo(): Poly.Topo;
73
+ allOldTopo(): Poly.Topo;
73
74
  allNewTopo(): Poly.Topo;
74
75
  hideSetAll(hm: HideMap): void;
75
76
  hide(id: any): void;
package/lib/geo/geo.ts CHANGED
@@ -475,6 +475,13 @@ export class GeoMultiCollection
475
475
  }
476
476
 
477
477
  allTopo(): Poly.Topo
478
+ {
479
+ // Note that you can't actually switch between allNewTopo and allOldTopo
480
+ // without calling _onChange between the calls to reset the 'all' tag.
481
+ return this.allNewTopo();
482
+ }
483
+
484
+ allOldTopo(): Poly.Topo
478
485
  {
479
486
  if (this.nEntries == 0) return null;
480
487
  if (! this.all.topo)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dra2020/baseclient",
3
- "version": "1.0.113",
3
+ "version": "1.0.114",
4
4
  "description": "Utility functions for Javascript projects.",
5
5
  "main": "dist/baseclient.js",
6
6
  "types": "./dist/all/all.d.ts",