Skip to content

Commit 57eee06

Browse files
committed
Website updates
1 parent 4f8291a commit 57eee06

File tree

8 files changed

+10
-8
lines changed

8 files changed

+10
-8
lines changed

dist/en/main/examples/common.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/en/main/ol/MapBrowserEvent.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default MapBrowserEvent;
55
* See {@link module:ol/Map~Map} for which events trigger a map browser event.
66
* @template {PointerEvent|KeyboardEvent|WheelEvent} [EVENT=PointerEvent|KeyboardEvent|WheelEvent]
77
*/
8-
declare class MapBrowserEvent<EVENT extends PointerEvent | KeyboardEvent | WheelEvent = KeyboardEvent | WheelEvent | PointerEvent> extends MapEvent {
8+
declare class MapBrowserEvent<EVENT extends PointerEvent | KeyboardEvent | WheelEvent = PointerEvent | KeyboardEvent | WheelEvent> extends MapEvent {
99
/**
1010
* @param {string} type Event type.
1111
* @param {import("./Map.js").default} map Map.

dist/en/main/ol/dist/ol.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/en/main/ol/render/webgl/constants.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export type WebGLWorkerGenerateBuffersMessage = {
2222
/**
2323
* render instructions raw binary buffer.
2424
*/
25-
renderInstructions: ArrayBuffer;
25+
renderInstructions: ArrayBufferLike;
2626
/**
2727
* Amount of hit detection + custom attributes count in the render instructions.
2828
*/

dist/en/main/ol/render/webgl/constants.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/en/main/ol/render/webgl/constants.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export const WebGLWorkerMessageType = {
1919
* Note that any addition properties present in the message *will* be sent back to the main thread.
2020
* @property {number} id Message id; will be used both in request and response as a means of identification
2121
* @property {WebGLWorkerMessageType} type Message type
22-
* @property {ArrayBuffer} renderInstructions render instructions raw binary buffer.
22+
* @property {ArrayBufferLike} renderInstructions render instructions raw binary buffer.
2323
* @property {number} [customAttributesSize] Amount of hit detection + custom attributes count in the render instructions.
2424
* @property {ArrayBuffer} [indicesBuffer] Indices array raw binary buffer (sent by the worker).
2525
* @property {ArrayBuffer} [vertexAttributesBuffer] Vertex attributes array raw binary buffer (sent by the worker).

dist/en/main/ol/reproj/DataTile.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/en/main/ol/reproj/DataTile.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,9 @@ class ReprojDataTile extends DataTile {
339339
const isFloat = tileData instanceof Float32Array;
340340
const pixelCount = pixelSize[0] * pixelSize[1];
341341
const DataType = isFloat ? Float32Array : Uint8ClampedArray;
342-
const tileDataR = new DataType(tileData.buffer);
342+
const tileDataR = new DataType(
343+
/** @type {ArrayBuffer} */ (tileData.buffer),
344+
);
343345
const bytesPerElement = DataType.BYTES_PER_ELEMENT;
344346
const bytesPerPixel = (bytesPerElement * tileDataR.length) / pixelCount;
345347
const bytesPerRow = tileDataR.byteLength / pixelSize[1];

0 commit comments

Comments
 (0)