12345678910111213141516171819202122232425 |
- import {
- LineString,
- MultiLineString,
- GeometryCollection,
- Units,
- Feature,
- FeatureCollection,
- } from "@turf/helpers";
- /**
- * http://turfjs.org/docs/#lineChunk
- */
- export default function lineChunk<T extends LineString | MultiLineString>(
- geojson:
- | Feature<T>
- | FeatureCollection<T>
- | T
- | GeometryCollection
- | Feature<GeometryCollection>,
- segmentLength: number,
- options?: {
- units?: Units;
- reverse?: boolean;
- }
- ): FeatureCollection<LineString>;
|