@deck.gl/mapbox 9.0.0-alpha.3 → 9.0.0-alpha.5
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/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@deck.gl/mapbox",
|
|
3
3
|
"description": "Use deck.gl layers as custom mapbox-gl-js layers",
|
|
4
4
|
"license": "MIT",
|
|
5
|
-
"version": "9.0.0-alpha.
|
|
5
|
+
"version": "9.0.0-alpha.5",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
8
8
|
},
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
},
|
|
19
19
|
"main": "dist/es5/index.js",
|
|
20
20
|
"module": "dist/esm/index.js",
|
|
21
|
+
"types": "typed/index.d.ts",
|
|
21
22
|
"files": [
|
|
22
23
|
"dist",
|
|
23
24
|
"src",
|
|
@@ -34,7 +35,7 @@
|
|
|
34
35
|
"@math.gl/web-mercator": "^4.0.0"
|
|
35
36
|
},
|
|
36
37
|
"peerDependencies": {
|
|
37
|
-
"@deck.gl/core": "^
|
|
38
|
+
"@deck.gl/core": "^9.0.0-alpha"
|
|
38
39
|
},
|
|
39
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "683e985b1b91160d7930b746bbd195fc1405a687"
|
|
40
41
|
}
|
package/typed/deck-utils.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Deck } from '@deck.gl/core
|
|
2
|
-
import type { DeckProps, MapViewState } from '@deck.gl/core
|
|
1
|
+
import { Deck } from '@deck.gl/core';
|
|
2
|
+
import type { DeckProps, MapViewState } from '@deck.gl/core';
|
|
3
3
|
import type MapboxLayer from './mapbox-layer';
|
|
4
4
|
import type { Map } from 'mapbox-gl';
|
|
5
5
|
export declare function getDeckInstance({ map, gl, deck }: {
|
package/typed/mapbox-layer.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Map, CustomLayerInterface } from 'mapbox-gl';
|
|
2
|
-
import type { Deck, Layer } from '@deck.gl/core
|
|
2
|
+
import type { Deck, Layer } from '@deck.gl/core';
|
|
3
3
|
export declare type MapboxLayerProps<LayerT extends Layer> = Partial<LayerT['props']> & {
|
|
4
4
|
id: string;
|
|
5
5
|
renderingMode?: '2d' | '3d';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Deck } from '@deck.gl/core
|
|
1
|
+
import { Deck } from '@deck.gl/core';
|
|
2
2
|
import type { Map, IControl } from 'mapbox-gl';
|
|
3
|
-
import type { DeckProps } from '@deck.gl/core
|
|
3
|
+
import type { DeckProps } from '@deck.gl/core';
|
|
4
4
|
export declare type MapboxOverlayProps = Omit<DeckProps, 'width' | 'height' | 'gl' | 'parent' | 'canvas' | '_customRender' | 'viewState' | 'initialViewState' | 'controller'> & {
|
|
5
5
|
interleaved?: boolean;
|
|
6
6
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Deck, LayersList } from '@deck.gl/core
|
|
1
|
+
import type { Deck, LayersList } from '@deck.gl/core';
|
|
2
2
|
import type { Map } from 'mapbox-gl';
|
|
3
3
|
/** Insert Deck layers into the mapbox Map according to the user-defined order */
|
|
4
4
|
export declare function resolveLayers(map?: Map, deck?: Deck, oldLayers?: LayersList, newLayers?: LayersList): void;
|