new AnimatedCluster( [options], animationMethod)
A vector layer for animated cluster
Parameters:
Name | Type | Argument | Description | ||||||
---|---|---|---|---|---|---|---|---|---|
options |
olx.layer.AnimatedClusterOptions |
<optional> |
extend olx.layer.Options Properties
|
||||||
animationMethod |
ol.easingFunction | easing method to use, default ol.easing.easeOut |
Extends
Methods
-
animateFeature(feature, fanim)
-
Animate feature on a vector layer
Parameters:
Name Type Description feature
ol.Feature Feature to animate
fanim
ol.featureAnimation | Array.<ol.featureAnimation> the animation to play
- Inherited From:
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 r
ol.render3D - Inherited From:
-
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 style
ol.style.Style | Array.<ol.style.Style> | ol.StyleFunction maxResolution
Number to display text, default: 0
- Inherited From: