new Blob(options)
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
* | blob options Properties
|
Extends
Methods
-
_setPosition(e)
-
Set position of the clip
Parameters:
Name Type Description e
ol.MapBrowserEvent - Inherited From:
- Overrides:
-
addLayer(layer)
-
Add a layer to clip
Parameters:
Name Type Description layer
ol.layer | Array.<ol.layer> to clip
- Inherited From:
- Overrides:
-
getPixelPosition()
-
Get position of the clip
- Inherited From:
- Overrides:
Returns:
pixel
- Type
- ol.Pixel
-
getPosition()
-
Get position of the clip
- Inherited From:
- Overrides:
Returns:
- Type
- ol.coordinate
-
getRadius()
-
Get clip radius
- Inherited From:
- Overrides:
Returns:
radius
- Type
- integer
-
removeLayer(layer)
-
Remove a layer to clip
Parameters:
Name Type Description layer
ol.layer | Array.<ol.layer> to clip
- Inherited From:
- Overrides:
-
removeLayers()
-
Remove all layers
- Inherited From:
- Overrides:
-
setActive(active)
-
Activate or deactivate the interaction.
Parameters:
Name Type Description active
boolean Active.
- Inherited From:
- Overrides:
-
setMap()
-
Set the map > start postcompose
- Inherited From:
- Overrides:
-
setPixelPosition(pixel)
-
Set position of the clip
Parameters:
Name Type Description pixel
ol.Pixel - Inherited From:
- Overrides:
-
setPosition(coord)
-
Set position of the clip
Parameters:
Name Type Description coord
ol.coordinate - Inherited From:
- Overrides:
-
setRadius(radius)
-
Set clip radius
Parameters:
Name Type Description radius
integer - Inherited From:
- Overrides: