@openglobus/og 0.25.10 → 0.25.11

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.
@@ -54,6 +54,7 @@ export interface IPlanetParams {
54
54
  atmosphereParameters?: IAtmosphereParams;
55
55
  minDistanceBeforeMemClear?: number;
56
56
  vectorTileSize?: number;
57
+ maxNodesCount?: number;
57
58
  }
58
59
  export type PlanetEventsList = [
59
60
  "draw",
@@ -307,6 +308,7 @@ export declare class Planet extends RenderNode {
307
308
  protected _transitionOpacityEnabled: boolean;
308
309
  protected _atmosphere: Atmosphere;
309
310
  private _minDistanceBeforeMemClear;
311
+ private _maxNodes;
310
312
  constructor(options?: IPlanetParams);
311
313
  /**
312
314
  * Returns true if current terrain data set is loaded
@@ -14,6 +14,12 @@ export interface IGlobusTerrainParams extends IEmptyTerrainParams {
14
14
  noDataValues?: number[];
15
15
  plainGridSize?: number;
16
16
  heightFactor?: number;
17
+ /**
18
+ * Fetch RequestCache value
19
+ * https://developer.mozilla.org/en-US/docs/Web/API/Request/cache
20
+ * @default "default"
21
+ */
22
+ cache?: string;
17
23
  }
18
24
  type TileData = {
19
25
  heights: number[] | TypedArray | null;
@@ -64,6 +70,7 @@ declare class GlobusTerrain extends EmptyTerrain {
64
70
  */
65
71
  protected _urlRewriteCallback: UrlRewriteFunc | null;
66
72
  protected _heightFactor: number;
73
+ protected _cache: string;
67
74
  constructor(name?: string, options?: IGlobusTerrainParams);
68
75
  get loader(): Loader<GlobusTerrain>;
69
76
  clearCache(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openglobus/og",
3
- "version": "0.25.10",
3
+ "version": "0.25.11",
4
4
  "description": "[openglobus](https://www.openglobus.org/) is a javascript/typescript library designed to display interactive 3d maps and planets with map tiles, imagery and vector data, markers, and 3D objects. It uses the WebGL technology, open source, and completely free.",
5
5
  "main": "lib/og.es.js",
6
6
  "types": "lib/index.d.ts",