Namespace: MultiPolygon

ol.geom. MultiPolygon

Methods


sampleAt(res)

Sample a MultiPolygon at a distance

Parameters:
Name Type Description
res number
Returns:
Type
ol.geom.MultiPolygon

scribbleFill(options)

Calculate a MultiPolyline to fill a Polygon with a scribble effect that appears hand-made

Parameters:
Name Type Description
options
Properties
Name Type Description
interval Number

interval beetween lines

angle Number

hatch angle in radian, default PI/2

Returns:

the resulting MultiLineString geometry or null if none

Type
ol.geom.MultiLineString | null