WordPress.org

Forums

Comprehensive Google Map Plugin
[resolved] Problems when hidden on load (17 posts)

  1. NerdAtWork
    Member
    Posted 2 years ago #

    I wanted to add the map code in a hidden div - which opens on click - but when it's hidden on load it looks like this:
    http://awesomescreenshot.com/0a01bsig93

    When the div is open on load everything is ok - but that's not my goal. ;o)

    Any hints?

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

  2. kayosdesign
    Member
    Posted 1 year ago #

    Hi,

    Has anyone managed to solve this issue?

    I have a site using a fairly stock bit of jquery to switch between tabs. The tab displayed when the page loads works fine, however the hidden maps display as shown in the link above.
    Demo here

    If you resize the page then the map tiles load, but the map does not reposition itself.

    I have found this, which seems to be related. I think the map just needs to be told to refresh somehow, or resized, but I have no idea how to do it in WP + CGMP

    Any advice would be appreciated.

    Cheers,

    D.

  3. alexanderzagniotov
    Member
    Plugin Contributor

    Posted 1 year ago #

    Hi NerdAtWork...

    Are you still active here?

  4. kayosdesign
    Member
    Posted 1 year ago #

    If there is an easy solution then I would like to know it, but I have worked around the problem.

    I went old style and forced each tab to actually reload the page. Now I am only loading one map per page.

    Cheers,

    D.

  5. alexanderzagniotov
    Member
    Plugin Contributor

    Posted 1 year ago #

    Wait until v8.0.2, I am hoping that the fix I have applied will resolve this issue

  6. NerdAtWork
    Member
    Posted 1 year ago #

    I'm still active, but haven't used the plugin now because of the problem described. Deleted without substitution... ;o)

  7. alexanderzagniotov
    Member
    Plugin Contributor

    Posted 1 year ago #

    Gotcha.. Give it ago again if you can..

  8. NerdAtWork
    Member
    Posted 1 year ago #

    YES.. works now! Thx. :o)

  9. alexanderzagniotov
    Member
    Plugin Contributor

    Posted 1 year ago #

    Really? Are you able to provide a link to the live site?

  10. NerdAtWork
    Member
    Posted 1 year ago #

    Sorry.. just tested in on a draft page. But as I just want you to provide a screenshot and called it again - the old 'buggy' view is presented again. Strange... but is has worked.. one time.. I swear. ^^

    Edit: If it helps. At first the old view was loaded - and then the nice one - as if it reloads itself. Could it just reproduce with some page reloads. But unfortunately it's seems not fixed at all.

  11. alexanderzagniotov
    Member
    Plugin Contributor

    Posted 1 year ago #

    Its a bit hard to test without viewing the actual page - are you able to help me?

  12. NerdAtWork
    Member
    Posted 1 year ago #

    Hey. You don't have a wordpress for testing? ^^

    Take a look here - but in time please:
    http://www.aktivtreff-ruhr.de/treffpunkte/

    Pop out the last point in the list...

    Was the same for me... works... works not.. and then only works sometimes.

  13. alexanderzagniotov
    Member
    Plugin Contributor

    Posted 1 year ago #

    Actually, I just pushed a fix for jQuery tabs + plugin conflict. Tested on my wordpress.

    BUT, having said that, it will work with jQuery tabs only. Tabs that use jQuery CSS classes. I know its not generic enough at the moment.

  14. alexanderzagniotov
    Member
    Plugin Contributor

    Posted 1 year ago #

    You can have a look at non-min JS to see what I have done

  15. alexanderzagniotov
    Member
    Plugin Contributor

    Posted 1 year ago #

    Ohh sorry. Please get version 8.0.5.1. The solution is generic now, regardless of CSS selectors... I keep checking if the map placeholder DIV is hidden or not, the moment it becomes visible - I resize the map

  16. NerdAtWork
    Member
    Posted 1 year ago #

    Can you mark it as update - so WordPress shows 'There is an update available for the plugin' ?

  17. alexanderzagniotov
    Member
    Plugin Contributor

    Posted 1 year ago #

    My understanding is that it's not something that I need to do explicitly - to mark plugin for update. As long as I have incremented the version number, WordPress in due course will do the check to see what updates available.

    At least until now I never had to do it...

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Comprehensive Google Map Plugin
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic