menu

arrow_back Why the scale Google map goes to zero?

by
0 votes
Hello, I inserted a Google map and posted on her route -> everything works, the map is not depending on the displayed scale is adapted so that the entire route was visible within the block
The map in my project needs to open in a popup window, and probably due to the fact that it is when the page is loaded in a hidden layer, it goes in the window to scale the Entire world (the route is built correctly). How to deal with this?

1 Answer

by
 
Best answer
0 votes
Initialize the map only after the discovery of modelki. Why did You form it before if it is hidden? This is not optimal for the load and sloppy work.