package.geom.flat.linechunk.d.ts Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ol Show documentation
Show all versions of ol Show documentation
OpenLayers mapping library
The newest version!
/**
* Creates chunks of equal length from a linestring
* @param {number} chunkLength Length of each chunk.
* @param {Array} flatCoordinates Flat coordinates.
* @param {number} offset Start offset of the `flatCoordinates`.
* @param {number} end End offset of the `flatCoordinates`.
* @param {number} stride Stride.
* @return {Array>} Chunks of linestrings with stride 2.
*/
export function lineChunk(chunkLength: number, flatCoordinates: Array, offset: number, end: number, stride: number): Array>;
//# sourceMappingURL=linechunk.d.ts.map