@openglobus/og 0.25.5 → 0.25.7

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.
@@ -52,6 +52,8 @@ export interface IPlanetParams {
52
52
  atmosphereEnabled?: boolean;
53
53
  transitionOpacityEnabled?: boolean;
54
54
  atmosphereParameters?: IAtmosphereParams;
55
+ minDistanceBeforeMemClear?: number;
56
+ vectorTileSize?: number;
55
57
  }
56
58
  export type PlanetEventsList = [
57
59
  "draw",
@@ -307,6 +309,7 @@ export declare class Planet extends RenderNode {
307
309
  _currNodes: Map<number, Node>;
308
310
  protected _transitionOpacityEnabled: boolean;
309
311
  protected _atmosphere: Atmosphere;
312
+ private _minDistanceBeforeMemClear;
310
313
  constructor(options?: IPlanetParams);
311
314
  /**
312
315
  * Returns true if current terrain data set is loaded
package/package.json CHANGED
@@ -1,87 +1,73 @@
1
1
  {
2
- "name" : "@openglobus/og",
3
- "version" : "0.25.5",
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
- "main" : "lib/og.es.js",
6
- "types" : "lib/index.d.ts",
7
- "exports" : {
8
- "." : {
9
- "import" : "./lib/og.es.js",
10
- "types" : "./lib/index.d.ts"
2
+ "name": "@openglobus/og",
3
+ "version": "0.25.7",
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
+ "main": "lib/og.es.js",
6
+ "types": "lib/index.d.ts",
7
+ "exports": {
8
+ ".": {
9
+ "import": "./lib/og.es.js",
10
+ "types": "./lib/index.d.ts"
11
+ },
12
+ "./styles": {
13
+ "import": "./lib/og.css"
11
14
  }
12
15
  },
13
- "publishConfig" : {
14
- "access" : "public"
16
+ "publishConfig": {
17
+ "access": "public"
15
18
  },
16
- "files" : [
19
+ "files": [
17
20
  "lib/"
18
21
  ],
19
- "scripts" : {
20
- "docs" : "jsdoc -r ./src/ -c ./jsdoc.conf.json -d ./docs",
21
- "serve_docs" : "cd docs; ws -p 8088",
22
- "serve" : "ws -p 3000",
23
- "build" : "vite build --mode production && npm run dts",
24
- "clean" : "rm -rf ./lib ./docs",
25
- "dev" : "vite build --watch --mode development",
26
- "test" : "jest --env=jsdom --runInBand --ci --coverage=false",
27
- "lint" : "eslint src/",
28
- "dts" : "tsc --build tsconfig.json",
29
- "dev_serve" : "npm-run-all --parallel --continue-on-error --race dev serve"
22
+ "scripts": {
23
+ "docs": "jsdoc -r ./src/ -c ./jsdoc.conf.json -d ./docs",
24
+ "serve_docs": "cd docs; ws -p 8088",
25
+ "serve": "ws -p 3000",
26
+ "build": "vite build --mode production && npm run dts",
27
+ "clean": "rm -rf ./lib ./docs",
28
+ "dev": "vite build --watch --mode development",
29
+ "test:watch": "vitest",
30
+ "test": "vitest run --reporter=verbose",
31
+ "lint": "eslint src/",
32
+ "dts": "tsc --build tsconfig.json",
33
+ "dev_serve": "npm-run-all --parallel --continue-on-error --race dev serve"
30
34
  },
31
- "repository" : {
32
- "type" : "git",
33
- "url" : "git+https://github.com/openglobus/openglobus.git"
35
+ "repository": {
36
+ "type": "git",
37
+ "url": "git+https://github.com/openglobus/openglobus.git"
34
38
  },
35
- "author" : "Michael Gevlich(Zemledelec)",
36
- "license" : "MIT",
37
- "bugs" : {
38
- "url" : "https://github.com/openglobus/openglobus/issues",
39
- "email" : "mgevlich@gmail.com"
39
+ "author": "Michael Gevlich(Zemledelec)",
40
+ "license": "MIT",
41
+ "bugs": {
42
+ "url": "https://github.com/openglobus/openglobus/issues",
43
+ "email": "mgevlich@gmail.com"
40
44
  },
41
- "homepage" : "https://www.openglobus.org",
42
- "devDependencies" : {
43
- "@babel/cli" : "^7.25.6",
44
- "@babel/core" : "^7.25.2",
45
- "@babel/plugin-proposal-class-properties" : "^7.18.6",
46
- "@babel/plugin-proposal-object-rest-spread" : "^7.20.7",
47
- "@babel/preset-env" : "^7.25.4",
48
- "@babel/preset-typescript" : "^7.24.7",
49
- "@rollup/plugin-json" : "^6.1.0",
50
- "@rollup/plugin-terser" : "^0.4.4",
51
- "@rollup/plugin-typescript" : "^11.1.6",
52
- "@types/jest" : "^29.5.12",
53
- "@types/node" : "^22.14.0",
54
- "@typescript-eslint/eslint-plugin" : "^8.4.0",
55
- "@typescript-eslint/parser" : "^8.4.0",
56
- "clean-jsdoc-theme" : "^4.3.0",
57
- "eslint" : "^9.9.1",
58
- "jest" : "^29.7.0",
59
- "jest-canvas-mock" : "^2.5.2",
60
- "jest-environment-jsdom" : "^29.7.0",
61
- "jsdoc" : "^4.0.3",
62
- "jsdoc-babel" : "^0.5.0",
63
- "lint-staged" : "^15.2.10",
64
- "local-web-server" : "^5.4.0",
65
- "npm-run-all" : "^4.1.5",
66
- "postcss" : "^8.4.45",
67
- "prettier" : "^3.3.3",
68
- "rollup" : "^4.22.4",
69
- "rollup-plugin-copy" : "^3.5.0",
70
- "rollup-plugin-postcss" : "^4.0.2",
71
- "rollup-plugin-web-worker-loader" : "^1.7.0",
72
- "terser" : "^5.39.0",
73
- "ts-jest" : "^29.2.5",
74
- "typescript" : "^5.5.4",
75
- "vite" : "^6.2.6",
76
- "vite-plugin-glsl" : "^1.4.0",
77
- "vite-plugin-static-copy" : "^2.3.1"
45
+ "homepage": "https://www.openglobus.org",
46
+ "devDependencies": {
47
+ "@babel/plugin-proposal-class-properties": "^7.18.6",
48
+ "@babel/plugin-proposal-object-rest-spread": "^7.20.7",
49
+ "@babel/preset-env": "^7.26.9",
50
+ "@babel/preset-typescript": "^7.27.0",
51
+ "@rollup/plugin-terser": "^0.4.4",
52
+ "@types/mocha": "^10.0.10",
53
+ "@types/node": "^22.15.3",
54
+ "@typescript-eslint/eslint-plugin": "^8.31.1",
55
+ "clean-jsdoc-theme": "^4.3.0",
56
+ "eslint": "^9.25.1",
57
+ "jsdoc": "^4.0.4",
58
+ "jsdoc-babel": "^0.5.0",
59
+ "jsdom": "^26.1.0",
60
+ "local-web-server": "^5.4.0",
61
+ "npm-run-all": "^4.1.5",
62
+ "terser": "^5.39.0",
63
+ "typescript": "^5.8.3",
64
+ "vite": "^6.3.4",
65
+ "vite-plugin-glsl": "^1.4.1",
66
+ "vite-plugin-static-copy": "^2.3.1",
67
+ "vite-tsconfig-paths": "^5.1.4",
68
+ "vitest": "^3.1.2"
78
69
  },
79
- "lint-staged" : {
80
- "*.{js,ts}" : [
81
- "prettier --write"
82
- ]
83
- },
84
- "keywords" : [
70
+ "keywords": [
85
71
  "map",
86
72
  "3D",
87
73
  "webgl",