Answer the question
In order to leave comments, you need to log in
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
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.
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 questionAsk a Question
731 491 924 answers to any question