Class: Crop

ol.filter. Crop


new Crop(options)

Crop drawing using an ol.Feature

Parameters:
Name Type Description
options *
Properties
Name Type Argument Default Description
ol/Feature

feature to crop with

inner bool <optional>
false

crop inner, default false

Requires:
  • module:ol.filter
  • module:ol.filter.Mask

Extends

Requires

  • module:ol.filter
  • module:ol.filter.Mask

Methods


drawFeaturePath_()

Draw the feature into canvas

Inherited From:

getActive()

Get filter active

Inherited From:
Returns:
Type
bool

setActive(b)

Activate / deactivate filter

Parameters:
Name Type Description
b bool
Inherited From: