@tak-ps/cloudtak 13.100.1 → 13.100.2

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.
@@ -89,6 +89,10 @@ export default class Overlay {
89
89
  * First renderable layer id of this overlay that is present on the map
90
90
  */
91
91
  anchorLayerId(): string | undefined;
92
+ /**
93
+ * Move this overlay's layers directly below the given overlay's first
94
+ * renderable layer - with no anchor on the map they move to the top
95
+ */
92
96
  moveBefore(overlay?: Overlay): void;
93
97
  replace(overlay: {
94
98
  name?: string;
@@ -65,6 +65,12 @@ export default class OverlayManager extends BaseInterface {
65
65
  * `loaded` order (index 0 at the bottom)
66
66
  */
67
67
  static applyLoadedOrder(): void;
68
+ /**
69
+ * Nearest overlay at or above the given index that has a renderable
70
+ * layer on the map - overlays with no layers (e.g. raster-dem terrain,
71
+ * failed or still initializing) cannot be anchored against and are skipped
72
+ */
73
+ static loadedAnchorOverlayFrom(idx: number): Overlay | undefined;
68
74
  /**
69
75
  * First renderable layer id of the overlay stacked directly above the
70
76
  * given one - used to re-insert its layers at the same position
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tak-ps/cloudtak",
3
3
  "type": "module",
4
- "version": "13.100.1",
4
+ "version": "13.100.2",
5
5
  "types": "dist/types/plugin.d.ts",
6
6
  "files": [
7
7
  "dist/types"