new ClipMap(options)
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
options |
ol.interaction.ClipMap.options | flashlight param Properties
|
Extends
- ol.interaction.Pointer
Methods
-
_setPosition(e)
-
Set position of the clip
Parameters:
Name Type Description e
ol.MapBrowserEvent -
getPixelPosition()
-
Get position of the clip
Returns:
pixel
- Type
- ol.Pixel
-
getPosition()
-
Get position of the clip
Returns:
- Type
- ol.coordinate
-
getRadius()
-
Get clip radius
Returns:
radius
- Type
- integer
-
setMap()
-
Set the map > start postcompose
-
setPixelPosition(pixel)
-
Set position of the clip
Parameters:
Name Type Description pixel
ol.Pixel -
setPosition(coord)
-
Set position of the clip
Parameters:
Name Type Description coord
ol.coordinate -
setRadius(radius)
-
Set clip radius
Parameters:
Name Type Description radius
integer