@mapcomponents/deck-gl 1.8.0 → 1.8.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.
package/CHANGELOG.md CHANGED
@@ -0,0 +1,15 @@
1
+ ## [v## [V1.8.0] (2026-01-19)
2
+
3
+ ### Added
4
+
5
+ - 1d9a49e: add Ml3DTileLayer and MlScenegraphLayer
6
+ - 15de9b1: add addEffect and removeEffect function to useDeckGl hook
7
+
8
+ ### Changed
9
+
10
+ - 45499dc: change allow user to use Custom props for MlHexagonLayer.tsx
11
+
12
+ ### Fixed
13
+
14
+ - 05744b6: fix useDeckGl.tsx multiple layers is possible again
15
+
package/dist/CHANGELOG.md CHANGED
@@ -0,0 +1,15 @@
1
+ ## [v## [V1.8.0] (2026-01-19)
2
+
3
+ ### Added
4
+
5
+ - 1d9a49e: add Ml3DTileLayer and MlScenegraphLayer
6
+ - 15de9b1: add addEffect and removeEffect function to useDeckGl hook
7
+
8
+ ### Changed
9
+
10
+ - 45499dc: change allow user to use Custom props for MlHexagonLayer.tsx
11
+
12
+ ### Fixed
13
+
14
+ - 05744b6: fix useDeckGl.tsx multiple layers is possible again
15
+
package/dist/package.json CHANGED
@@ -1,9 +1,10 @@
1
1
  {
2
2
  "name": "@mapcomponents/deck-gl",
3
- "version": "1.8.0",
3
+ "version": "1.8.1",
4
4
  "description": "",
5
5
  "main": "src/index.ts",
6
6
  "module": "dist/index.mjs",
7
+ "license": "MIT",
7
8
  "scripts": {
8
9
  "test": "echo \"Error: no test specified\" && exit 1"
9
10
  },
package/package.json CHANGED
@@ -1,9 +1,10 @@
1
1
  {
2
2
  "name": "@mapcomponents/deck-gl",
3
- "version": "1.8.0",
3
+ "version": "1.8.1",
4
4
  "description": "",
5
5
  "main": "src/index.ts",
6
6
  "module": "dist/index.mjs",
7
+ "license": "MIT",
7
8
  "dependencies": {
8
9
  "@deck.gl/aggregation-layers": "^9.2.6",
9
10
  "@deck.gl/core": "^9.2.6",
@@ -15,7 +16,7 @@
15
16
  "@storybook/react": "^9.1.4",
16
17
  "maplibre-gl": "^5.16.0",
17
18
  "uuid": "^11.1.0",
18
- "@mapcomponents/react-maplibre": "1.8.0"
19
+ "@mapcomponents/react-maplibre": "1.8.1"
19
20
  },
20
21
  "devDependencies": {
21
22
  "@types/geojson": "^7946.0.16"
@@ -23,12 +23,15 @@ const Template = (context: any) => {
23
23
  let cancelled = false;
24
24
  const load = async () => {
25
25
  try {
26
- const res = await fetch('/assets/3D/laerm_points.json', {
27
- headers: {
28
- 'Content-Type': 'application/json',
29
- Accept: 'application/json',
30
- },
31
- });
26
+ const res = await fetch(
27
+ 'https://mapcomponents.github.io/react-map-components-maplibre/deck-gl/assets/3D/laerm_points.json',
28
+ {
29
+ headers: {
30
+ 'Content-Type': 'application/json',
31
+ Accept: 'application/json',
32
+ },
33
+ }
34
+ );
32
35
  if (!res.ok) throw new Error(`HTTP ${res.status}`);
33
36
  const json = await res.json();
34
37
  const features = Array.isArray(json?.features) ? json.features : [];
@@ -108,7 +108,8 @@ WhereGroupLocationExample.args = {
108
108
  getPosition: (d: any) => d.geometry.coordinates,
109
109
  getOrientation: () => [0, 0, 90],
110
110
  getColor: () => [255, 255, 255],
111
- scenegraph: '/assets/3D/WhereGroupLogo.glb',
111
+ scenegraph:
112
+ "https://mapcomponents.github.io/react-map-components-maplibre/deck-gl/assets/3D/WhereGroupLogo.glb",
112
113
  sizeScale: 100,
113
114
  _animations: {
114
115
  '*': { speed: 5 },