Answer the question
In order to leave comments, you need to log in
How to get access to JS API of yandex-map installed via IFRAME?
Added a map widget to the site. The loading of the map is delayed when the page is scrolled. The iframe src attribute is set to the value from data-src. After loading the map, I need to access its API. For some reason, there is no access to the ymaps object. Tried through a timer of 10 seconds, still does not see this object. Tell me where to dig?
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