@tak-ps/cloudtak 13.85.0 → 13.86.1
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, {
|
|
@@ -246,10 +246,6 @@ export declare function ensureDatabase(): Promise<void>;
|
|
|
246
246
|
export declare class DatabaseSuspendedError extends Error {
|
|
247
247
|
constructor(message?: string);
|
|
248
248
|
}
|
|
249
|
-
/**
|
|
250
|
-
* The storage process did not answer a bounded probe. Every read and write
|
|
251
|
-
* would hang forever; only a fresh WebView (or app process) recovers.
|
|
252
|
-
*/
|
|
253
249
|
export declare class DatabaseUnavailableError extends Error {
|
|
254
250
|
constructor(message: string);
|
|
255
251
|
}
|