@tak-ps/cloudtak 13.85.0 → 13.86.0

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.
@@ -85,6 +85,10 @@ export default class Overlay {
85
85
  skipLayers?: boolean;
86
86
  }): Promise<void>;
87
87
  remove(): void;
88
+ /**
89
+ * First renderable layer id of this overlay that is present on the map
90
+ */
91
+ anchorLayerId(): string | undefined;
88
92
  moveBefore(overlay?: Overlay): void;
89
93
  replace(overlay: {
90
94
  name?: string;
@@ -45,6 +45,12 @@ export default class OverlayManager extends BaseInterface {
45
45
  * given one - used to re-insert its layers at the same position
46
46
  */
47
47
  static loadedBeforeOverlay(overlay: Overlay): string | undefined;
48
+ /**
49
+ * First renderable layer id present on the map, searching `loaded`
50
+ * upward from the given index - overlays that failed to load or are
51
+ * still initializing have no layers and are skipped
52
+ */
53
+ static loadedAnchorFrom(idx: number): string | undefined;
48
54
  static deleteLoaded(idOrOverlay: string | number | Overlay): Promise<void>;
49
55
  static queryableOverlayNames(): string[];
50
56
  static clickableLayerMap(): Map<string, {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tak-ps/cloudtak",
3
3
  "type": "module",
4
- "version": "13.85.0",
4
+ "version": "13.86.0",
5
5
  "types": "dist/types/plugin.d.ts",
6
6
  "files": [
7
7
  "dist/types"