F
F
firstpasha2015-10-12 22:13:27
JavaScript
firstpasha, 2015-10-12 22:13:27

How to accurately determine the moment when the map was drawn?

Is there a way to accurately determine when the map has loaded and fully rendered.
Has anyone faced a similar issue?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
F
forgotten, 2015-10-12
@forgotten

There is no such way intentionally. In a significant part of our Motherland, the situation when the map did not load (that is, one or two tiles did not load) happens much more often than we would like.

K
Klein Maximus, 2015-10-15
@kleinmaximus

var isReady;
ymaps.ready(function () {
map = new ymaps.Map("yandexmap", {
center: [55.76, 37.64],
zoom: 12
});
isReady = true;
});
Then check isReady change in setTimeout.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question