When I visit the #home page, the map is corretely shown in #home. But for a unknow reason, when I change of page and I come back to #home, the map is not fully shown. It like if the picture of the page is not loaded (it's grey).
I observed that when the map is not correctely loaded, as in the picture, the mode choose is at you can see in red circle. When the map iscorretely load, beside of "Satellite" or can also see "Plan".
I also noticed that when I return to #home, the map is reload.
First I would like to know if you can tell me how can do to load the map if it's not already loaded? In other words, to load the map only once, even if I change of pages.
How can I code a refresh button, like F5 on a browser, to simply reload the map "manualy"
Do you have any idea, why the map is not fully shown, as it's displayed in the picture?
Is there a possibility to cache the map, and making sure it's not reloaded?
Thank for your help and any suggestion to perfect my code is welcome.
Hello, Unfortunately it does not works. At first I thought but after going page to pages and I come back to my map, it display the half map as shown in the picture. See my first message.
Morever, I just observe a issue, not very important.
When I change the mode of one of my module, the change is not display. For exemple, I have module with marker. Marker have symbols with color. If I change the profile of my module it will change the symbol. Then when I do it, I save and I return to my map. The old profile is still displayed. This because the map is not reloaded. But this, I understand and I can find a alternative to refresh.
But first all, my map is not full diusplay and this is more annoyed and I will temporaly change my event to pageshow...