Skip to main content
Version: 7.0.0

zeroSketchCollection()

function zeroSketchCollection<G>(sketchCollection): SketchCollection<G>;

Given sketch collection, returns the mutated collection with all child sketches switched to have zero polygon geometry (three [0,0] coordinates)

Type Parameters

Type Parameter
G extends Polygon | MultiPolygon

Parameters

ParameterTypeDescription
sketchCollectionSketchCollection<G>

Returns

SketchCollection<G>