new Vector3D(options)
Parameters:
Name | Type | Description | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
Properties
|
Extends
- pl.layer.Image
Methods
-
animate(options)
-
Animate rendering
Parameters:
Name Type Description options
* Properties
Name Type Description height
string | function | number an attribute name or a function returning height of a feature or a fixed value
duration
number the duration of the animatioin ms, default 1000
easing
ol.easing an ol easing function
-
animating()
-
Check if animation is on
Returns:
- Type
- bool
-
getStyle()
-
Get style associated with the layer
Returns:
- Type
- ol.style.Style
-
setHeight(height)
-
Set the height function for the layer
Parameters:
Name Type Description height
function | string | Number a height function (returns height giving a feature) or a popertie name or a fixed value
-
setStyle(s)
-
Set style associated with the layer
Parameters:
Name Type Description s
ol.style.Style