Class: AnimatedCluster

ol.layer. AnimatedCluster

A vector layer for animated cluster


new AnimatedCluster( [options], animationMethod)

Parameters:
Name Type Argument Description
options olx.layer.AnimatedClusterOptions <optional>

extend olx.layer.Options

Properties
Name Type Description
animationDuration Number

animation duration in ms, default is 700ms

animationMethod ol.easingFunction

easing method to use, default ol.easing.easeOut

Extends

Methods


setRender3D(r)

ol.layer.Vector.prototype.setRender3D

Parameters:
Name Type Description
r ol.render3D
Inherited From:
Overrides:

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:
Overrides:
Deprecated:
  • use ol/style/Text with placement:line