Google Map iframe in a tab issue

Question

I have embedded a map on the third tab on a page.

Page here > ‘Itinerary’ tab

If you go straight to the tab while the page is still loading – it loads the map perfectly. However, if you wait until the page has fully loaded and then click on the tab ‘Itinerary’, the map loads totally zoomed out and not where it should be.

I have tried entering all the details like

<iframe src="http://ridewithgps.com/routes/1342529/embed" height="500px" width="100%" frameborder="0" http://maps.google.com/maps?ll=43.790716,4.166708&z=8&t=m&hl=en-GB&gl=US&mapclient=apiv3&skstate=action:mps_dialog$apiref:1&output=classic></iframe>

but it still won’t work for me. I have very little knowledge of Javascript but I’m guessing that it needs to be reloaded on the tab or something to get it to zoom in.

0
Ciaran 2 months 0 Answers 12 views 0

Leave an answer