Converts LineStrings into a MultiLineString by cutting it in two at each distance along the length of the LineString.

Feature.cutLines(distances, maxError, proj)Feature
this: featureElement

Cuts the lines of this feature's default geometry.


Distances along each LineString to cut the line into separate pieces, measured in units of the given proj, or meters if proj is unspecified.

maxErrorErrorMargin, default: null

The maximum amount of error tolerated when performing any necessary reprojection.

projProjection, default: null

Projection of the result and distance measurements, or WGS84 if unspecified.