• Resolved 509tyler

    (@509tylergmailcom)


    This is a nice option for not having to use iframes embed code from Google. I am having an issue however where when I place Comprehensive Google Map Plugin Short code within my theme’s “tabs” shortcode. When multiple maps are appearing in the tabs, and while using an xml/kml file … only the first maps appears fully. The subsequent maps that appear in the other tabs only display the top left portion of the Google Map until the browser window is resized (FF-mac & pc, Chrome-mac & pc), then the maps appears however then the zoom value is not being saved in the maps that appear in the subsequent tabs. When I place the maps outside the Theme tabs short code, multiple maps appear on the page without issue. Wondering if you have a suggestion for fixing my situation – must be JS conflict? You can see the issue here: http://tech.509cloud.com/testing-google-maps-in-tabs

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

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Contributor alexanderzagniotov

    (@alexanderzagniotov)

    Will have a look ASAP . At work ATM.

    Regards

    Plugin Contributor alexanderzagniotov

    (@alexanderzagniotov)

    Ok, judging from a quick look:

    I see that Google API is loaded twice: once by the plugin, and another time by something else, or someone.

    I am not claiming that this is the problem, but that’s not good.
    Will investigate more later.

    Cheers

    Thread Starter 509tyler

    (@509tylergmailcom)

    I was trouble shooting with other google maps plugins. I have sine disabled them. Thanks for taking a look at why this is happening.

    Thread Starter 509tyler

    (@509tylergmailcom)

    OK, so I did a Vanilla WP install running Twenty Eleven 1.3 Theme and activated Comprehensive Google Maps Plugin and Short Codes Ultimate Plugin (that also has tabbed interface option shortcode) *** ONLY *** and I get the same results. This makes me believe this is apparently NOT isolated to the theme, although I am not ruling out a conflict with Short Codes Ultimate.

    Check this link for the Vanilla WP Install I mentioned above.
    3 Tabs and 3 maps in those tabs plus same maps NOT in tabs:
    http://509cloud.com/test/?page_id=2

    3 Tabs and 2 Maps – first tab no map – just to make sure that the first map if not messing with the next 2 maps, plus all 3 maps NOT in tabs:
    http://509cloud.com/test/?page_id=9

    Plugin Contributor alexanderzagniotov

    (@alexanderzagniotov)

    Will check soon, gimme few hours …

    Thread Starter 509tyler

    (@509tylergmailcom)

    No problem – thanks for taking the time to trouble shoot. Just want you to be aware of this potential conflict as more users and WP developers are using Jquery tabs as part of the page design/layout. In my use/application we have 3 different maps in those 3 tabs. It’d be great to use your plugin if possible …

    Plugin Contributor alexanderzagniotov

    (@alexanderzagniotov)

    Ok… This is a known issue. If you Google “google map api jQuery tabs”, you get several posts from Stackoverflow talking about this.

    The solution would be to resize/re-init the map, when the tab is shown.
    I tried to put in different ugly hacks in plugin’s JS to resize the map, I think I have succeeded. The zoom remains messed up. Its an interesting issue, but ATM I do not have the perfect solution.

    Thread Starter 509tyler

    (@509tylergmailcom)

    Ah yes. I too Googled this. I should have done this straight away. It appears that this issue has been around a while (2009). Stackoverflow does have quite a few solutions like initializing the map first, then the tabs. What did you have in mind?

    Plugin Contributor alexanderzagniotov

    (@alexanderzagniotov)

    Hi,
    Basically what I have replied last – I tried to put in different ugly hacks in plugin’s JS to resize the map, I think I have succeeded. I tried to listen on the tab events and resize the map. As I said, ATM I do not have the perfect solution.

    allproactive

    (@allproactive)

    I continue to have this problem. Has there been any updates?

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘[Plugin: Comprehensive Google Map Plugin] Google Maps NOT appearing in full, theme tabs’ is closed to new replies.