itowns 2.44.3-next.26 → 2.44.3-next.27

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.
package/lib/Core/Style.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { FEATURE_TYPES } from "./Feature.js";
2
2
  import Cache from "./Scheduler/Cache.js";
3
3
  import Fetcher from "../Provider/Fetcher.js";
4
- import * as mapbox from '@mapbox/mapbox-gl-style-spec';
4
+ import * as maplibre from '@maplibre/maplibre-gl-style-spec';
5
5
  import { Color } from 'three';
6
6
  import { deltaE } from "../Renderer/Color.js";
7
7
  import Coordinates from "./Geographic/Coordinates.js";
@@ -73,8 +73,8 @@ function rgba2rgb(orig) {
73
73
  }
74
74
  function readVectorProperty(property, options) {
75
75
  if (property != undefined) {
76
- if (mapbox.expression.isExpression(property)) {
77
- return mapbox.expression.createExpression(property, options).value;
76
+ if (maplibre.expression.isExpression(property)) {
77
+ return maplibre.expression.createExpression(property, options).value;
78
78
  } else {
79
79
  return property;
80
80
  }
@@ -1,4 +1,4 @@
1
- import { featureFilter } from '@mapbox/mapbox-gl-style-spec';
1
+ import { featureFilter } from '@maplibre/maplibre-gl-style-spec';
2
2
  import Style from "../Core/Style.js";
3
3
  import TMSSource from "./TMSSource.js";
4
4
  import URLBuilder from "../Provider/URLBuilder.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "itowns",
3
- "version": "2.44.3-next.26",
3
+ "version": "2.44.3-next.27",
4
4
  "description": "A JS/WebGL framework for 3D geospatial data visualization",
5
5
  "type": "module",
6
6
  "main": "lib/Main.js",
@@ -57,8 +57,8 @@
57
57
  },
58
58
  "homepage": "https://itowns.github.io/",
59
59
  "dependencies": {
60
- "@mapbox/mapbox-gl-style-spec": "^13.28.0",
61
60
  "@mapbox/vector-tile": "^2.0.3",
61
+ "@maplibre/maplibre-gl-style-spec": "^22.0.0",
62
62
  "@tmcw/togeojson": "^5.8.1",
63
63
  "@tweenjs/tween.js": "^25.0.0",
64
64
  "3d-tiles-renderer": "^0.3.39",