Answer the question
In order to leave comments, you need to log in
How to find a cluster by object ID?
Tell me how to find the cluster in which the object is located, by the ID of this object? Automatic clustering:
objectManager = new ymaps.ObjectManager({
clusterize: true,
gridSize: 32,
clusterDisableClickZoom: true
});
objectManager.objects.options.set('preset', 'islands#redDotIcon');
objectManager.clusters.options.set('preset', 'islands#redClusterIcons');
objectManager.add(placemarks);
objectManager.objects.setObjectOptions(id, {preset: 'islands#blueDotIcon'});
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