Answer the question
In order to leave comments, you need to log in
How to correctly search for the nearest point by coordinates, among objects in the objectManager?
There is an objectManager with objects:
const objects = objectManager.objects.getAll();
And the method of geosearch api for Yandex maps geoQuery + getClosestTo ( https://yandex.ru/dev/maps/jsbox/2.1/placemarks_in... )
ymaps.geoQuery(objects).getClosestTo([59.9251823, 30.3361324]);
t.getType is not a function
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