My site works intensively with images, which means images take a huge amount of page load time. I use the google maps API, which works better if it is triggered in an event window load, however, given that loading a window expects all images to load in the first place, the user experience on the map has a negative effect.
This can be fixed if I can get a separate event that is aimed only at completing the download of the script files and starts rendering the map without touching the status of the images.
Now I know this is a strange thing, but given the scenario I explained, any ideas or workarounds will be helpful.
PS: Since I load my cards using the cluster module, I have no choice but to wait until all the scripts load first, so document readythis is not an option. In addition, loading scripts before starting the js map initialization does not work, since clustering of maps always occurs with a delay in loading external javascript, and therefore I have to rely on window load.
Rohan source
share