I thought it was easy to add a single Google Map inside a jQuery tab of my template, but this task turned to a nightmare. I have already tested several WP plugins, but none of them is able to fully show a Google Map inside a jQuery Tab, due to a well-known conflict between jQuery and Google Map API v3.
As Basic Google Maps Placemarks looks as one of the most promising plugins, I wonder if the developer does have any suggestion to make his plugin work inside a (non-selected) jQuery tab. You can have a look of my work in progress here:
(click the “map” tab to see how BGMP plugin does look like…)
I’ve got another question too. On the Installation notes it is reported that
It’s not possible to detect when do_shortcode() is used, so you need to manually let the plugin know to load the files by adding this code to your theme:<snip>…update the function names and filter arguments, and then add the slugs of any pages/posts containing the map to $shortcodePageSlugs.
I have discovered that the only way to make this plugin work on my test page is to add manually the slug of that page to the function.php file… Is that the only way to do it? I could become mad if I have to add manually each page slug to that PHP file… I’m looking forward to use about 800 pages with maps on my sites, and that manual technique would be highly impractical.
Any help would be greatly appreciated!
- The topic ‘[Plugin: Basic Google Maps Placemarks] Map inside jQuery tab: a nightmare!’ is closed to new replies.