new AnimatedCluster(options)
impl/ol/js/layer/AnimatedCluster.js, line 19
Constructor principal de la clase. Crea una capa "AnimatedCluster" con parámetros especificados por el usuario.
| Name | Type | Description |
|---|---|---|
options |
Mx.parameters.LayerOptions |
Opciones personalizadas para esta capa.
|
Extends
- ol.layer.Vector
Methods
-
module:IDEE/impl/layer/AnimatedCluster~AnimatedCluster.getClusterForFeature(feature, clusters){Array.<Feature>}
impl/ol/js/layer/AnimatedCluster.js, line 100 -
Este método devuelve los objetos geográficos del "cluster".
Name Type Description featureIDEE.feature Objetos geográficos.
clustersIDEE.cluster Agrupaciones.
Returns:
Objetos geográficos del "cluster".
-
animate(event)
impl/ol/js/layer/AnimatedCluster.js, line 119 -
Animación del "cluster".
Name Type Description eventIDEE.event Evento.
-
postanimate(e)
impl/ol/js/layer/AnimatedCluster.js, line 252 -
Evento tras la animación.
Name Type Description eIDEE.event Evento tras la animación.
-
prepareAnimation_(extent, resolution)
impl/ol/js/layer/AnimatedCluster.js, line 213 -
Este método prepara la animación.
- ⚠️ Advertencia: Este método no debe ser llamado por el usuario.
Name Type Description extentArray.<Number> Extensión.
resolutionNumber Resolución.
-
saveCluster_(map)
impl/ol/js/layer/AnimatedCluster.js, line 78 -
Este método incluye el "cluster" al mapa.
- ⚠️ Advertencia: Este método no debe ser llamado por el usuario.
Name Type Description mapIDEE.impl.Map Implementación del mapa.
-
setStyle(style)
impl/ol/js/layer/AnimatedCluster.js, line 267 -
Sobrescribe el estilo del "cluster".
Name Type Description styleIDEE.style Nuevo estilo para aplicar.