Answer the question
In order to leave comments, you need to log in
How to get the maximum distance on the map from the center?
Good afternoon!
I'm trying to load objects from the database of only the visible area for Yandex.Maps . Objects for balloons are in GeoJSON point and searched by parameters: center[longitude, latitude], and search distance in meters.
I would like to take data to search for objects directly from Yandex.Maps. Everything is clear with the search center - this is the center of the map. But how to find out the maximum search distance, that is, the maximum distance from the center of the map to one of its corners? The scale in its pure form does not roll, since the map can be of different sizes, and I consider plan B to recalculate the size of the map frame to the scale.
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