Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
11-25-2012, 10:22 PM #1
- Join Date
- Aug 2002
- Thanked 0 Times in 0 Posts
Google Maps iframe Embedding Not Centered
I am embedding an iframe google map inside a tab but when the user clicks on the tab the map is not centered to the marker.
After research i think that I need to use this code but I am not sure how to incorporate this in my theme.
var zoom = map.getZoom(); var center = map.getCenter(); map.checkResize(); map.setCenter(center,zoom);