@openglobus/og 0.26.0 → 0.26.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.
@@ -265,6 +265,7 @@ declare class Entity {
265
265
  protected _qRot: Quat;
266
266
  _absoluteQRot: Quat;
267
267
  constructor(options?: IEntityParams);
268
+ get isEmpty(): boolean;
268
269
  /**
269
270
  * Returns root entity object.
270
271
  * @public
@@ -4,6 +4,7 @@ import { Segment } from "../segment/Segment";
4
4
  import type { EventsHandler } from "../Events";
5
5
  import { Material } from "./Material";
6
6
  import type { NumberArray4 } from "../math/Vec4";
7
+ import type { FetchCache } from "../utils/Loader";
7
8
  export interface IXYZParams extends ILayerParams {
8
9
  url?: string;
9
10
  subdomains?: string[];
@@ -15,7 +16,7 @@ export interface IXYZParams extends ILayerParams {
15
16
  * https://developer.mozilla.org/en-US/docs/Web/API/Request/cache
16
17
  * @default "default"
17
18
  */
18
- cache?: string;
19
+ cache?: FetchCache;
19
20
  }
20
21
  type XYZEventsList = [
21
22
  "load",
@@ -87,7 +88,7 @@ export declare class XYZ extends Layer {
87
88
  protected _urlRewriteCallback: Function | null;
88
89
  protected _requestsPeerSubdomains: number;
89
90
  protected _requestCount: number;
90
- protected _cache: string;
91
+ protected _cache: FetchCache;
91
92
  constructor(name: string | null, options?: IXYZParams);
92
93
  /**
93
94
  * @warning Use XYZ.isIdle in requestAnimationFrame(after setVisibility)