V
V
Vyacheslav Shevchenko2020-09-04 14:54:07
JavaScript
Vyacheslav Shevchenko, 2020-09-04 14:54:07

Is it possible to initialize a yandex-map only when it is visible?

Google pagespeed when loading maps immediately upon loading the page swears at them for several points. We have maps at the bottom of the page and it will take the user some time to get to them. Is it possible to initialize maps only when their container is visible?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DevMan, 2020-09-04
@WebDev2030

1. you can. but there may be a delay.
2. do not take pagespeed literally.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question