My question is specific to Google maps v3 API. I have a header (h3), an image, and Google Maps on my page. I want the page to wait until my Google Map loads entirely. Currently, the browser displays the h3 and image before Google Maps has completely loaded.
Asked
Active
Viewed 2,666 times
0
-
1Could you please provide the code associated with your current setup? – rjatkinson Apr 30 '15 at 04:30
-
Why would you do that? Anyway, you need the map canvas (the element in which the map will be loaded) to be in the DOM for the map to be loaded. – MrUpsidown Apr 30 '15 at 07:59
2 Answers
1
You might be able to use an event listener to see when the google map becomes idle. Then once that event is fired you can add your other html through the JavaScript.
Here is a link to a similar question and answer: How can I check whether Google Maps is fully loaded?