new render3D(options)
Parameters:
Name | Type | Description |
---|---|---|
options |
olx.render3DOption | masResolution {number} max resolution to render 3D
|
Methods
-
animate(options)
-
Animate rendering
Parameters:
Name Type Description options
olx.render3D.animateOptions height {string|function|number} an attribute name or a function returning height of a feature or a fixed value
- durtion {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
-
drawFeature3D_()
-
-
getFeature3D_()
-
-
getFeatureHeight()
-
-
getHfn(a)
-
Create a function that return height of a feature
Parameters:
Name Type Description a
function | string | number height function or a popertie name or a fixed value
Returns:
function(f) return height of the feature f
- Type
- function
-
hvector_()
-
-
onPostcompose_()
-
Calculate 3D at potcompose
-
setLayer()
-
Set layer to render 3D