Title: Google maps not loading
Last modified: August 22, 2016

---

# Google maps not loading

 *  [shaswa](https://wordpress.org/support/users/shaswa/)
 * (@shaswa)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/google-maps-not-loading/)
 * I’m placing maps in a hidden div and it’s being made visible onclick and it;s
   being loaded only partially as in this link [http://imgur.com/aUBUPbz](http://imgur.com/aUBUPbz)
 * This seems to be a common problem with the maps API and the recommended solution
   is to use google.maps.event.trigger(map, “resize”).
 * Has anyone encountered this issue before and how could I call the above call 
   using Google Maps Builder?
 * [https://wordpress.org/plugins/google-maps-builder/](https://wordpress.org/plugins/google-maps-builder/)

Viewing 13 replies - 1 through 13 (of 13 total)

 *  [tjcafferkey](https://wordpress.org/support/users/tjcafferkey/)
 * (@tjcafferkey)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/google-maps-not-loading/#post-5468744)
 * I’m having the same issue as this, any solutions?
 * **UPDATE: SEE BELOW.**
 *  [tjcafferkey](https://wordpress.org/support/users/tjcafferkey/)
 * (@tjcafferkey)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/google-maps-not-loading/#post-5468746)
 * Just found the solution: Make sure you have the following in the relevant template
   files:
 * header.php (between your <head></head> tags):
    `<?php wp_head(); ?>`
 * footer.php:
    `<?php wp_footer(); ?>`
 *  Plugin Author [Devin Walker](https://wordpress.org/support/users/dlocc/)
 * (@dlocc)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/google-maps-not-loading/#post-5468756)
 * Hey we are aware of the issue of having a google map in a hidden element which
   is then toggled. We’re working towards a fix.
 * [@tjcafferkey](https://wordpress.org/support/users/tjcafferkey/) – ALL WordPress
   themes should have these two critical functions. If your theme does NOT then 
   it’s considered broken. Plugins rely on these two functions, and a number more,
   to work properly.
 *  [tjcafferkey](https://wordpress.org/support/users/tjcafferkey/)
 * (@tjcafferkey)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/google-maps-not-loading/#post-5468758)
 * Yes, in this case I had just forgotten to put the footer function in the theme
   so it’s likely some others may have done the same as me.
 *  Thread Starter [shaswa](https://wordpress.org/support/users/shaswa/)
 * (@shaswa)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/google-maps-not-loading/#post-5468759)
 * I loaded the map div normally and on page load, I just hid the map. That removed
   the errors from the layout. And onclick, it’s showing the map as expected.
 * Also, make sure if you click to show the map before the page is loaded, it doesn’t
   hide the map. We used a global variable to check if a click event has occurred
   or not.
 * [@tjcafferkey](https://wordpress.org/support/users/tjcafferkey/): That wasn’t
   the issue for us.
 * It does obviously cause a minimal bad UI experience to the user based on their
   internet speed. But until a fix is made available or we find a better method,
   We are going to use this method.
 * [@devin](https://wordpress.org/support/users/devin/) Walker: Is there any scheduled
   release date for a fix?
 *  Plugin Author [Devin Walker](https://wordpress.org/support/users/dlocc/)
 * (@dlocc)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/google-maps-not-loading/#post-5468760)
 * We will be coming out with a development roadmap soon that will have bug fixes
   and feature requests on it. Until then, I don’t have any solid date to give you.
 *  Thread Starter [shaswa](https://wordpress.org/support/users/shaswa/)
 * (@shaswa)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/google-maps-not-loading/#post-5468761)
 * Cool. Thanks for the plugin though! It’s a really good one.
 *  Plugin Author [Devin Walker](https://wordpress.org/support/users/dlocc/)
 * (@dlocc)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/google-maps-not-loading/#post-5468764)
 * Thanks! We’re working to improve it more. If you like it please consider rating
   it! :]
 * [https://wordpress.org/support/view/plugin-reviews/google-maps-builder](https://wordpress.org/support/view/plugin-reviews/google-maps-builder)
 *  [pag](https://wordpress.org/support/users/pag/)
 * (@pag)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/google-maps-not-loading/#post-5468823)
 * I am stucked with the problem that the maps does not show up on my web site.
   
   I have checked the recommended solution, i.e.
 * Make sure you have the following in the relevant template files:
 * header.php (between your <head></head> tags):
    <?php wp_head(); ?>
 * footer.php:
    <?php wp_footer(); ?>
 * But it does not help.
 * Any ideas out there?
 *  [surferdude](https://wordpress.org/support/users/surferdude/)
 * (@surferdude)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/google-maps-not-loading/#post-5468825)
 * Hi All,
 * I’m also getting this. wp_head() and wp_footer() are indeed in the theme (Ward
   Theme by Bavotasan). I think the issue is occuring as I’m trying to display the
   map inside a “Shortcodes Ultimate” Plugin Tab element, so yes it’s hidden upon
   initial page load. I’m currently checking if there is a solution based on triggering
   a map resize… eg:
 * [http://stackoverflow.com/questions/19003291/embed-google-map-is-wrong-displayed-until-resizing-webpage](http://stackoverflow.com/questions/19003291/embed-google-map-is-wrong-displayed-until-resizing-webpage)
 * Thanks
 *  Plugin Author [Matt Cromwell](https://wordpress.org/support/users/webdevmattcrom/)
 * (@webdevmattcrom)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/google-maps-not-loading/#post-5468828)
 * [@surferdude](https://wordpress.org/support/users/surferdude/) I think your issue
   is somewhat different. I would be helpful to open a separate ticket with this
   and include a link to your site so we can see the problem live if possible.
 *  [surferdude](https://wordpress.org/support/users/surferdude/)
 * (@surferdude)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/google-maps-not-loading/#post-5468831)
 * Ah ok, no problem will do thanks 🙂
 *  [mehdi9500](https://wordpress.org/support/users/mehdi9500/)
 * (@mehdi9500)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/google-maps-not-loading/#post-5468850)
 * thank you **tjcafferkey** it solved my problem.

Viewing 13 replies - 1 through 13 (of 13 total)

The topic ‘Google maps not loading’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/google-maps-builder_f9f9f9.svg)
 * [Maps Builder - Google Maps Plugin](https://wordpress.org/plugins/google-maps-builder/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-maps-builder/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-maps-builder/)
 * [Active Topics](https://wordpress.org/support/plugin/google-maps-builder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-maps-builder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-maps-builder/reviews/)

## Tags

 * [not displaying](https://wordpress.org/support/topic-tag/not-displaying/)

 * 13 replies
 * 7 participants
 * Last reply from: [mehdi9500](https://wordpress.org/support/users/mehdi9500/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/google-maps-not-loading/#post-5468850)
 * Status: not resolved