Home › Forums › Add-ons › Repeater Field › Google Map & Accordian › Reply To: Google Map & Accordian
Hi @59lespaul,
I’m guessing that the map is inside a hidden element? What you need to do is trigger the resize event. google.maps.event.trigger(map, 'resize');
Links for further reading:
http://stackoverflow.com/questions/4064275/how-to-deal-with-google-map-inside-of-a-hidden-div-updated-picture
http://stackoverflow.com/questions/3782632/google-map-display-from-a-hidden-area
http://stackoverflow.com/questions/28030786/google-maps-api-v3-hidden-div-map-not-centered-in-div
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.