Vector data that is rendered client-side.
Methods
-
animateFeature(feature, fanim)
-
Animate feature on a vector layer
Parameters:
Name Type Description featureol.Feature Feature to animate
fanimol.featureAnimation | Array.<ol.featureAnimation> the animation to play
Fires:
- animationstart,event: animationend
Returns:
an object to control animation with start, stop and isPlaying function
- Type
- olx.animationControler
-
setRender3D(r)
-
ol.layer.Vector.prototype.setRender3D
Parameters:
Name Type Description rol.render3D -
setTextPathStyle(style, maxResolution)
-
Set the style for features. This can be a single style object, an array of styles, or a function that takes a feature and resolution and returns an array of styles. If it is undefined the default style is used. If it is null the layer has no style (a null style). See ol.style for information on the default style.
Parameters:
Name Type Description styleol.style.Style | Array.<ol.style.Style> | ol.StyleFunction maxResolutionNumber to display text, default: 0
ol-ext