WordPress.org

Ready to get started?Download WordPress

Forums

Comprehensive Google Map Plugin
[resolved] Map inside js tab issue (5 posts)

  1. samkittinger
    Member
    Posted 1 year ago #

    Hey all, I've been scouring everywhere and still have yet to find out how to make this work. I'm having the issue where the map loads mostly gray (except a portion in the top left) until resizing the browser and clicking on the map. Has anyone found out how to solve this issue? It seems it has something to do with the map being in a js tab. Here's the site I'm having issues with: http://www.bohsnhons.com/

    The plugin works perfectly except for this issue!

    Thanks!

    http://wordpress.org/extend/plugins/comprehensive-google-map-plugin/

  2. FranceImage
    Member
    Posted 1 year ago #

    Hi,

    Creating a googlemap is always tricky when the container is not showing.

    I've bumped into your problem too. But it's possible (look here)

    The best solution (for me) is to wait for the tab to be activated before creating the googlemap.
    There is an additional benefit: you don't increase your GoogleMap count if people don't open the map.

    Cheers

  3. FranceImage
    Member
    Posted 1 year ago #

    Hi again,

    I had a deeper look at the plugin code. What I suggest is definitely not possible without a fair bit of hacking.

    If I were you, I would open a new page to show the map instead of using a javascript tab

  4. FranceImage
    Member
    Posted 1 year ago #

  5. alexanderzagniotov
    Member
    Plugin Author

    Posted 8 months ago #

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic