R
R
run1822020-06-24 21:40:07
Yandex maps
run182, 2020-06-24 21:40:07

How to display a large number of points on the map?

It is necessary to display about 3 thousand marks on the map at the same time.

1) We use ObjectManager (API 2.1) . The map takes a long time to load (from 8 or more seconds) and when fully loaded with brakes, it reacts to moving around the map.
2) We tried to implement the output of points through API 1.1 - the display speed has increased by 2 times and works without brakes .

Tell me, does the first version of the API really work faster or are we doing something wrong? We do not use clustering - the client is categorically against it.

I am attaching 2 screenshots with the implementation:
API 2.1
5ef39de4f2a2f134740148.png
API 1.1
5ef39deaf039c355853719.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2020-06-24
@NeiroNx

I would take another viewer and use tiles.
But since Yandex does not know how to tile layers - this is implemented on it through the ass: add only those labels that are included in the viewed area - maybe the JS array will be faster than internal data structures if you quickly wool over it, calculating whether the point is included in the view square.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question