new Blob(options)
Parameters:
| Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
* | blob options Properties
|
Extends
Methods
-
_setPosition(e)
-
Set position of the clip
Parameters:
Name Type Description eol.MapBrowserEvent - Inherited From:
- Overrides:
-
addLayer(layer)
-
Add a layer to clip
Parameters:
Name Type Description layerol.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 layerol.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 activeboolean Active.
- Inherited From:
- Overrides:
-
setMap()
-
Set the map > start postcompose
- Inherited From:
- Overrides:
-
setPixelPosition(pixel)
-
Set position of the clip
Parameters:
Name Type Description pixelol.Pixel - Inherited From:
- Overrides:
-
setPosition(coord)
-
Set position of the clip
Parameters:
Name Type Description coordol.coordinate - Inherited From:
- Overrides:
-
setRadius(radius)
-
Set clip radius
Parameters:
Name Type Description radiusinteger - Inherited From:
- Overrides: