@deck.gl/aggregation-layers 9.0.28 → 9.0.29
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"screen-grid-cell-layer.d.ts","sourceRoot":"","sources":["../../src/screen-grid-layer/screen-grid-cell-layer.ts"],"names":[],"mappings":"AAoBA,OAAO,EAAC,OAAO,EAAC,MAAM,eAAe,CAAC;AACtC,OAAO,EAAC,KAAK,EAAW,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAC,KAAK,EAAE,UAAU,EAAgB,gBAAgB,EAAE,YAAY,EAAC,MAAM,eAAe,CAAC;AAI9F,OAAO,KAAK,EAAC,qBAAqB,EAAC,+BAA4B;AAC/D,OAAO,EAAC,YAAY,EAAC,MAAM,sBAAsB,CAAC;AAclD,uDAAuD;AACvD,MAAM,MAAM,wBAAwB,CAAC,KAAK,GAAG,OAAO,IAAI,yBAAyB,CAAC,KAAK,CAAC,GACtF,UAAU,CAAC;AAEb,8CAA8C;AAC9C,MAAM,MAAM,yBAAyB,CAAC,KAAK,IAAI,qBAAqB,CAAC,KAAK,CAAC,GAAG;IAC5E,UAAU,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,MAAM,CAAC,OAAO,OAAO,mBAAmB,CAAC,KAAK,GAAG,GAAG,EAAE,WAAW,SAAS,EAAE,GAAG,EAAE,CAAE,SAAQ,KAAK,CAC9F,WAAW,GAAG,QAAQ,CAAC,yBAAyB,CAAC,KAAK,CAAC,CAAC,CACzD;IACC,MAAM,CAAC,SAAS,SAAyB;IACzC,MAAM,CAAC,YAAY,kDAAgB;IAEnC,KAAK,EAAG;QACN,KAAK,CAAC,EAAE,KAAK,CAAC;KACf,CAAC;IAEF,UAAU,IAAI;QAAC,EAAE,EAAE,MAAM,CAAC;QAAC,EAAE,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,YAAY,EAAE,CAAA;KAAC;IAI/D,eAA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AAC;IAI/D,eAAe;IAYf,iBAAiB,CAAC,EAAC,WAAW,EAAC;;KAAA;IAK/B,WAAW,CAAC,MAAM,EAAE,gBAAgB,CAAC,IAAI,CAAC;IAe1C,IAAI,CAAC,EAAC,QAAQ,EAAC;;KAAA;IA6Bf,0BAA0B,CAAC,SAAS,KAAA,EAAE,EAAC,YAAY,EAAC;;KAAA;IAkBpD,SAAS,IAAI,KAAK;IAuBlB,gBAAgB,IAAI,OAAO;IAe3B,eAAe,CAAC,QAAQ,KAAA,EAAE,KAAK,KAAA,EAAE,WAAW,KAAA,GAAG,IAAI;CA4BpD"}
|
|
@@ -77,7 +77,9 @@ export default class ScreenGridCellLayer extends Layer {
|
|
|
77
77
|
maxTexture
|
|
78
78
|
});
|
|
79
79
|
model.setUniforms({
|
|
80
|
+
// @ts-expect-error stricter luma gl types
|
|
80
81
|
minColor,
|
|
82
|
+
// @ts-expect-error stricter luma gl types
|
|
81
83
|
maxColor,
|
|
82
84
|
colorDomain
|
|
83
85
|
});
|
|
@@ -158,6 +160,7 @@ export default class ScreenGridCellLayer extends Layer {
|
|
|
158
160
|
(-(cellSizePixels - margin) / height) * 2,
|
|
159
161
|
1
|
|
160
162
|
]);
|
|
163
|
+
// @ts-expect-error stricter luma gl types
|
|
161
164
|
model.setUniforms({ cellScale });
|
|
162
165
|
}
|
|
163
166
|
}
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "deck.gl layers that aggregate the input data into alternative representations",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"version": "9.0.
|
|
6
|
+
"version": "9.0.29",
|
|
7
7
|
"publishConfig": {
|
|
8
8
|
"access": "public"
|
|
9
9
|
},
|
|
@@ -38,16 +38,16 @@
|
|
|
38
38
|
"prepublishOnly": "npm run build-bundle && npm run build-bundle -- --env=dev"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@luma.gl/constants": "
|
|
42
|
-
"@luma.gl/shadertools": "
|
|
41
|
+
"@luma.gl/constants": "~9.0.27",
|
|
42
|
+
"@luma.gl/shadertools": "~9.0.27",
|
|
43
43
|
"@math.gl/web-mercator": "^4.0.0",
|
|
44
44
|
"d3-hexbin": "^0.2.1"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
47
|
"@deck.gl/core": "^9.0.0",
|
|
48
48
|
"@deck.gl/layers": "^9.0.0",
|
|
49
|
-
"@luma.gl/core": "
|
|
50
|
-
"@luma.gl/engine": "
|
|
49
|
+
"@luma.gl/core": "~9.0.0",
|
|
50
|
+
"@luma.gl/engine": "~9.0.0"
|
|
51
51
|
},
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "eb43281ae27f0a2859d0f76d3f1b68b261ebbe38"
|
|
53
53
|
}
|
|
@@ -108,7 +108,9 @@ export default class ScreenGridCellLayer<DataT = any, ExtraPropsT extends {} = {
|
|
|
108
108
|
maxTexture
|
|
109
109
|
});
|
|
110
110
|
model.setUniforms({
|
|
111
|
+
// @ts-expect-error stricter luma gl types
|
|
111
112
|
minColor,
|
|
113
|
+
// @ts-expect-error stricter luma gl types
|
|
112
114
|
maxColor,
|
|
113
115
|
colorDomain
|
|
114
116
|
});
|
|
@@ -201,6 +203,7 @@ export default class ScreenGridCellLayer<DataT = any, ExtraPropsT extends {} = {
|
|
|
201
203
|
(-(cellSizePixels - margin) / height) * 2,
|
|
202
204
|
1
|
|
203
205
|
]);
|
|
206
|
+
// @ts-expect-error stricter luma gl types
|
|
204
207
|
model.setUniforms({cellScale});
|
|
205
208
|
}
|
|
206
209
|
}
|