Title: Cannot load google Map
Last modified: September 1, 2016

---

# Cannot load google Map

 *  Resolved [wayne_min](https://wordpress.org/support/users/wayne_min/)
 * (@wayne_min)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/cannot-load-google-map-1/)
 * Hi, Seem like popupmaker can’t load google map. I am adding google map using 
   Google Maps API Key, I can load google map in normal pages but not popupmaker.
 * The map inside popupmaker just appear as blank with google logo at the bottom,
   I hope you can help on this.
 * Thanks
    wayne
 * [https://wordpress.org/plugins/popup-maker/](https://wordpress.org/plugins/popup-maker/)

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

 *  Plugin Author [Daniel Iser](https://wordpress.org/support/users/danieliser/)
 * (@danieliser)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/cannot-load-google-map-1/#post-7537528)
 * [@wayne_min](https://wordpress.org/support/users/wayne_min/) – This is because
   your map has no defined height & width. So google JS tries to guess the size 
   by looking at the parent (the popup container). But the popup container depends
   on the content for size. Thus its height is 0 until your content makes it taller.
   So google renders the map at 0.
 * The second issue is often that the code used to initiate the maps doesn’t account
   for the fact that the popup is hidden. Hidden content generally has height of
   0 as well.
 * Defining a specific height and width for either the popup of the map itself should
   help.
 *  Thread Starter [wayne_min](https://wordpress.org/support/users/wayne_min/)
 * (@wayne_min)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/cannot-load-google-map-1/#post-7537536)
 * Thanks for your reply. I tried to define the map width & height, popup width &
   height but seem can’t fix the problem, but the map shows up once I resize the
   browser, That is strange but yes it is something to do with the width & height.
   I will keep trying…
 *  Plugin Author [Daniel Iser](https://wordpress.org/support/users/danieliser/)
 * (@danieliser)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/cannot-load-google-map-1/#post-7537567)
 * [@wayne_min](https://wordpress.org/support/users/wayne_min/) – We see similar
   issues with Slider plugins that rely on the containers size as well.
 * You could try using the Custom size option for your popup.
 * Hope that helps.
 *  Thread Starter [wayne_min](https://wordpress.org/support/users/wayne_min/)
 * (@wayne_min)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/cannot-load-google-map-1/#post-7537813)
 * Thanks for your reply, Unfortunately the google map still not working in popup
   after tried several methods.
 * I heard there have something to do with
    google.maps.event.addListenerOnce(map,‘
   idle’, function() { google.maps.event.trigger(map, ‘resize’); map.setCenter(center);});
 * but just can’t get it work… T_T
 *  Plugin Author [Daniel Iser](https://wordpress.org/support/users/danieliser/)
 * (@danieliser)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/cannot-load-google-map-1/#post-7537817)
 * [@wayne_min](https://wordpress.org/support/users/wayne_min/) – Stick with it,
   is the map plugin author not providing any insight into it? I understand the 
   issue but am not at all familiar with their code or the google map API enough
   to be of use without investing a ton of time learning.
 * Not saying I can’t help, just saying I may not be the most suitable person to
   find this particular fix quickly.
 *  Thread Starter [wayne_min](https://wordpress.org/support/users/wayne_min/)
 * (@wayne_min)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/cannot-load-google-map-1/#post-7537831)
 * Hi Danieliser,
 * Thanks for your reply and really appreciate it. I am using Divi theme build in
   map functions, but I believe this is matter about google map API, which i also
   not familiar with.
 * So I have to test out other google map lightbox plugin. however, I still think
   popup Maker is the best popup plugins I come across and I will use it for other
   need.
 * Thanks
    Wayne

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

The topic ‘Cannot load google Map’ is closed to new replies.

 * ![](https://ps.w.org/popup-maker/assets/icon-256x256.gif?rev=3097653)
 * [Popup Maker - Boost Sales, Conversions, Optins, Subscribers with the Ultimate WP Popup Builder](https://wordpress.org/plugins/popup-maker/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/popup-maker/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/popup-maker/)
 * [Active Topics](https://wordpress.org/support/plugin/popup-maker/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/popup-maker/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/popup-maker/reviews/)

## Tags

 * [GoogleMap](https://wordpress.org/support/topic-tag/googlemap/)

 * 6 replies
 * 2 participants
 * Last reply from: [wayne_min](https://wordpress.org/support/users/wayne_min/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/cannot-load-google-map-1/#post-7537831)
 * Status: resolved