ol 10.6.2-dev.1760977773143 → 10.6.2-dev.1760985568257
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/MapBrowserEvent.d.ts +1 -1
- package/dist/ol.js +1 -1
- package/dist/ol.js.map +1 -1
- package/package.json +1 -1
- package/render/webgl/constants.d.ts +1 -1
- package/render/webgl/constants.d.ts.map +1 -1
- package/render/webgl/constants.js +1 -1
- package/reproj/DataTile.d.ts.map +1 -1
- package/reproj/DataTile.js +3 -1
- package/util.js +1 -1
package/package.json
CHANGED
|
@@ -22,7 +22,7 @@ export type WebGLWorkerGenerateBuffersMessage = {
|
|
|
22
22
|
/**
|
|
23
23
|
* render instructions raw binary buffer.
|
|
24
24
|
*/
|
|
25
|
-
renderInstructions:
|
|
25
|
+
renderInstructions: ArrayBufferLike;
|
|
26
26
|
/**
|
|
27
27
|
* Amount of hit detection + custom attributes count in the render instructions.
|
|
28
28
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["constants.js"],"names":[],"mappings":"qCAKU,MAAM;;;;;;;;;;;;;;;;QAcF,MAAM;;;;UACN,sBAAsB;;;;wBACtB,
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["constants.js"],"names":[],"mappings":"qCAKU,MAAM;;;;;;;;;;;;;;;;QAcF,MAAM;;;;UACN,sBAAsB;;;;wBACtB,eAAe"}
|
|
@@ -19,7 +19,7 @@ export const WebGLWorkerMessageType = {
|
|
|
19
19
|
* Note that any addition properties present in the message *will* be sent back to the main thread.
|
|
20
20
|
* @property {number} id Message id; will be used both in request and response as a means of identification
|
|
21
21
|
* @property {WebGLWorkerMessageType} type Message type
|
|
22
|
-
* @property {
|
|
22
|
+
* @property {ArrayBufferLike} renderInstructions render instructions raw binary buffer.
|
|
23
23
|
* @property {number} [customAttributesSize] Amount of hit detection + custom attributes count in the render instructions.
|
|
24
24
|
* @property {ArrayBuffer} [indicesBuffer] Indices array raw binary buffer (sent by the worker).
|
|
25
25
|
* @property {ArrayBuffer} [vertexAttributesBuffer] Vertex attributes array raw binary buffer (sent by the worker).
|
package/reproj/DataTile.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataTile.d.ts","sourceRoot":"","sources":["DataTile.js"],"names":[],"mappings":";yBAsBa,CAAS,IAAM,EAAN,MAAM,EAAE,IAAM,EAAN,MAAM,EAAE,IAAM,EAAN,MAAM,EAAE,IAAM,EAAN,MAAM,KAAI,OAAO,gBAAgB,EAAE,OAAO;;;;;UAK1E,QAAQ;;;;YACR,MAAM;;;;;;gBAKN,OAAO,uBAAuB,EAAE,OAAO;;;;oBACvC,OAAO,yBAAyB,EAAE,OAAO;;;;gBACzC,OAAO,uBAAuB,EAAE,OAAO;;;;oBACvC,OAAO,yBAAyB,EAAE,OAAO;;;;eACzC,OAAO,iBAAiB,EAAE,SAAS;;;;;;;;gBAEnC,MAAM;;;;YACN,MAAM;;;;qBACN,UAAU;;;;;;;;;;;;;;;;;;;;;;;;AApBxB;;GAEG;AAEH;;;;GAIG;AAEH;;;;;;;;;;;;;;;;;;GAkBG;AAEH;;;;;GAKG;AACH;IACE;;OAEG;IACH,qBAFW,OAAO,EAiOjB;IAvNC;;;OAGG;IACH,qBACiE;IAEjE;;;OAGG;IACH,oBAAqC;IAErC;;;OAGG;IACH,gBAA6B;IAE7B;;;OAGG;IACH,oBAAuB;IAEvB;;;OAGG;IACH,qBAAwB;IAExB;;;OAGG;IACH,oBAA4B;IAE5B;;;OAGG;IACH,wBAA6C;IAE7C;;;OAGG;IACH,wBAA6C;IAE7C;;;OAGG;IACH,0BAAsE;IAEtE;;;OAGG;IACH,qBAAsB;IAEtB;;;OAGG;IACH,6BAAgC;IAEhC;;;OAGG;IACH,iBAAiB;IAMjB;;;OAGG;IACH,oBAIwB;IAmDxB;;;OAGG;IACH,uBAQC;IAgGH;;OAEG;IACH,
|
|
1
|
+
{"version":3,"file":"DataTile.d.ts","sourceRoot":"","sources":["DataTile.js"],"names":[],"mappings":";yBAsBa,CAAS,IAAM,EAAN,MAAM,EAAE,IAAM,EAAN,MAAM,EAAE,IAAM,EAAN,MAAM,EAAE,IAAM,EAAN,MAAM,KAAI,OAAO,gBAAgB,EAAE,OAAO;;;;;UAK1E,QAAQ;;;;YACR,MAAM;;;;;;gBAKN,OAAO,uBAAuB,EAAE,OAAO;;;;oBACvC,OAAO,yBAAyB,EAAE,OAAO;;;;gBACzC,OAAO,uBAAuB,EAAE,OAAO;;;;oBACvC,OAAO,yBAAyB,EAAE,OAAO;;;;eACzC,OAAO,iBAAiB,EAAE,SAAS;;;;;;;;gBAEnC,MAAM;;;;YACN,MAAM;;;;qBACN,UAAU;;;;;;;;;;;;;;;;;;;;;;;;AApBxB;;GAEG;AAEH;;;;GAIG;AAEH;;;;;;;;;;;;;;;;;;GAkBG;AAEH;;;;;GAKG;AACH;IACE;;OAEG;IACH,qBAFW,OAAO,EAiOjB;IAvNC;;;OAGG;IACH,qBACiE;IAEjE;;;OAGG;IACH,oBAAqC;IAErC;;;OAGG;IACH,gBAA6B;IAE7B;;;OAGG;IACH,oBAAuB;IAEvB;;;OAGG;IACH,qBAAwB;IAExB;;;OAGG;IACH,oBAA4B;IAE5B;;;OAGG;IACH,wBAA6C;IAE7C;;;OAGG;IACH,wBAA6C;IAE7C;;;OAGG;IACH,0BAAsE;IAEtE;;;OAGG;IACH,qBAAsB;IAEtB;;;OAGG;IACH,6BAAgC;IAEhC;;;OAGG;IACH,iBAAiB;IAMjB;;;OAGG;IACH,oBAIwB;IAmDxB;;;OAGG;IACH,uBAQC;IAgGH;;OAEG;IACH,mBAyMC;IAqDD;;OAEG;IACH,yBAGC;CACF;qBA7jByD,gBAAgB"}
|
package/reproj/DataTile.js
CHANGED
|
@@ -339,7 +339,9 @@ class ReprojDataTile extends DataTile {
|
|
|
339
339
|
const isFloat = tileData instanceof Float32Array;
|
|
340
340
|
const pixelCount = pixelSize[0] * pixelSize[1];
|
|
341
341
|
const DataType = isFloat ? Float32Array : Uint8ClampedArray;
|
|
342
|
-
const tileDataR = new DataType(
|
|
342
|
+
const tileDataR = new DataType(
|
|
343
|
+
/** @type {ArrayBuffer} */ (tileData.buffer),
|
|
344
|
+
);
|
|
343
345
|
const bytesPerElement = DataType.BYTES_PER_ELEMENT;
|
|
344
346
|
const bytesPerPixel = (bytesPerElement * tileDataR.length) / pixelCount;
|
|
345
347
|
const bytesPerRow = tileDataR.byteLength / pixelSize[1];
|
package/util.js
CHANGED