Answer the question
In order to leave comments, you need to log in
How to get visible objects on map after boundschange using objectManager?
I looked at the examples, they all do not fit \ do not work
First of all, I create an objectManager:
instance.objectManager = new ymaps.ObjectManager({
clusterize: true,
});
instance.objectManager.removeAll();
instance.map.geoObjects.add(instance.objectManager);
instance.map.events.add('boundschange', function () {
console.log(ymaps.geoQuery(instance.objectManager.objects.getAll()).searchInside(instance.map));
});
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