new MultiClips(flashlight)
Parameters:
| Name | Type | Description |
|---|---|---|
flashlight |
ol.interaction.clip.options | options param
|
Extends
- ol.interaction.Pointer
Methods
-
addClip(coordinate, radius)
Add clip on map
. -
Add clip on map
Parameters:
Name Type Description coordinateol.Coordinate Coordinates of clip center
radiusNumber | undefined Radius to apply on clip. Default is currentRadius
-
clear()
Clear all persisted clip on map
. -
Clear all persisted clip on map
-
removeLast()
Remove the last clip added to the map
. -
Remove the last clip added to the map
-
setFollowPointer(active)
Activate or deactivate the interaction.
-
Activate or deactivate the interaction.
Parameters:
Name Type Description activeboolean Active.