Results 1 to 3 of 3

Thread: Make new Google Maps load properly on hidden tab?

  1. #1
    Thread Starter
    Senior Member fraservalley's Avatar
    Join Date
    May 2011
    Location
    Canada
    Posts
    197
    Thanks
    11
    Thanked 47 Times in 30 Posts

    Make new Google Maps load properly on hidden tab?

    This is a request for a mod for the new Google maps (API v3.0) in ClassiPress 3.1.

    In the previous version on ClassiPress with the older version of Google maps, we were able to swap the contact and map tabs so the contact tab would show up first. The map tab had some glitches, but there were ways to make it display properly. In this new version the map definitely does not like to be loaded on a hidden tab and will not display properly. This is a known Google Maps display issue when trying to load the map on a hidden element.

    There are many threads on the web on how to patch this to work, the question is, are there any ClassiPress/WordPress experts that may have a solution for this particular application. If we could somehow trigger a map 'refresh' when the tab is clicked, everything would work fine:
    Code:
    google.maps.event.trigger(map, 'resize');
    Question is, how can we trigger this when you click the tab?

  2. #2
    Veteran barukar's Avatar
    Join Date
    Sep 2010
    Location
    Brasil, São Paulo, SP
    Posts
    6,784
    Thanks
    186
    Thanked 742 Times in 623 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    -------------------------------------------------------------------------------------------
    Projects: ClassiNoiva - Classimóveis - vocênoenem - i50 - Clube DETRAN

  3. #3
    Veteran barukar's Avatar
    Join Date
    Sep 2010
    Location
    Brasil, São Paulo, SP
    Posts
    6,784
    Thanks
    186
    Thanked 742 Times in 623 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    -------------------------------------------------------------------------------------------
    Projects: ClassiNoiva - Classimóveis - vocênoenem - i50 - Clube DETRAN

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [MOD NEEDED] Load Jquery from Google
    By doctorcilantro in forum ClassiPress General Discussion
    Replies: 17
    Last Post: August 2nd, 2016, 02:17 PM
  2. Google maps
    By massimorufo in forum Report ClassiPress Bugs
    Replies: 3
    Last Post: May 10th, 2011, 03:47 AM
  3. Google maps
    By massimorufo in forum Report ClassiPress Bugs
    Replies: 2
    Last Post: December 12th, 2010, 02:14 PM
  4. [SOLVED] Google Maps
    By jean5774 in forum Help Using ClassiPress
    Replies: 26
    Last Post: August 16th, 2010, 05:40 AM
  5. Google Maps
    By bidatio1 in forum ClassiPress General Discussion
    Replies: 1
    Last Post: May 7th, 2010, 03:36 PM