Answer the question
In order to leave comments, you need to log in
How to save cluster styles when changing Yandex map scale?
Good afternoon.
There is a piece of code that, when you click on a cluster, changes the style from green to red:
geoObject = objectManager.clusters.getById(cluster.id);
objectManager.clusters.setClusterOptions(geoObject.id, {
preset: 'islands#redClusterIcons'
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question