Answer the question
In order to leave comments, you need to log in
What is the best way to organize the output of a large number of labels on the map?
Hello.
Now I am rewriting a certain system, as well as introducing a number of additional options.
Can anyone suggest how best to organize the output of labels on a Yandex map?
The bottom line is that after selecting a place category, the user should see places from this category on the map (for example, gas stations or motels).
If you output everything at once, there will be nothing on the first one, but when the number of results exceeds at least a hundred, then this will become a problem - long loading, "white pages" and other joys.
So far, only the following comes to mind:
"Catch" the coordinates of the lower left corner and the upper right corner on the map, send a request and "pull out" the necessary objects in a given square. To reload - track the scroll, launch a handler on the scroll, which will load the necessary labels according to the same principle (corners - reload in a given square).
Maybe someone has better ideas? Or is it worth using this method?
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