Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions demo/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ function createHeatmapLayer(data) {
return layer;
}
function createHexagonLayer(data) {
const layer = new Deck2gisLayer<HexagonLayer>({
const layer = new Deck2gisLayer<HexagonLayer<any>>({
id: 'deckgl-HexagonLayer',
deck,
colorRange: COLOR_RANGE,
Expand All @@ -126,7 +126,7 @@ function createHexagonLayer(data) {
}

function createHexagonLayer2(data) {
const layer = new Deck2gisLayer<HexagonLayer>({
const layer = new Deck2gisLayer<HexagonLayer<any>>({
id: 'deckgl-HexagonLayer2',
deck,
colorRange: COLOR_RANGE,
Expand Down
165 changes: 90 additions & 75 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
],
"devDependencies": {
"@2gis/ts-docs-generator": "^0.1.0",
"@2gis/mapgl": "1.42.0",
"@deck.gl/aggregation-layers": "8.8.17",
"@deck.gl/layers": "8.8.17",
"@2gis/mapgl": "1.66.0",
"@deck.gl/aggregation-layers": "8.9.36",
"@deck.gl/layers": "8.9.36",
"@types/jest": "^27.4.0",
"@types/jest-image-snapshot": "^4.3.1",
"@types/puppeteer": "^5.4.4",
Expand All @@ -52,7 +52,7 @@
},
"dependencies": {
"@2gis/gl-matrix": "^2.4.6",
"@deck.gl/core": "8.8.17",
"@deck.gl/core": "8.9.36",
"gl-state": "^1.0.0",
"uniq": "^1.0.1"
},
Expand Down
2 changes: 1 addition & 1 deletion test/screenshots/plugin.screen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ describe('Base tests', () => {
},
];

const deckHexagonLayer = new window.Deck2gisLayer<HexagonLayer>({
const deckHexagonLayer = new window.Deck2gisLayer<HexagonLayer<any>>({
id: 'deckgl-HexagonLayer',
deck: window.deckgl,
type: window.HexagonLayer,
Expand Down