• Hello Iann,

    Thanks for making your Plugin “Basic Google Maps Placemarks” available to the public for free. I’m currently experiencing problems — The
    Placemarks does not appear on “Internet Explorer”.

    It works perfect on Firefox& Chrome.
    Please give me a step by step guide on how to make the Placemarks
    Appear on Internet Explorer.

    Thanks for your forthcoming candid assistance and help.

    Regards
    Joe

    http://wordpress.org/extend/plugins/basic-google-maps-placemarks/

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author Ian Dunn

    (@iandunn)

    What’s the URL to map on your site? What version of IE are you using? Do they show up if you switch to the TwentyEleven theme?

    Thread Starter franchise

    (@franchise)

    Hello Ian Dunn, thanks alot for your prompt reply, please check your Contact form message at http://iandunn.name/contact/ please check the link there as i intend the to keep the link very confidential. thanks.

    Plugin Author Ian Dunn

    (@iandunn)

    Ok, I see the problem in IE8. Can you try switching to the TwentyEleven theme and checking if it still happens? That will give us a clue as the what the problem might be.

    Thread Starter franchise

    (@franchise)

    Thanks alot Iann for the prompt response, but if I switch back to TwentyEleven theme it does not have the map or shows the map.
    Is there somehting I have to add to my theme functions.php to make this work. I have tried alot of things but none successful. Please suggest a code guideline for me for this problem, thanks.

    Plugin Author Ian Dunn

    (@iandunn)

    Did you add the map by putting the [bgmp-map] shortcode inside a page/post, or by putting something like echo do_shortcode( '[bgmp-map]' ); inside a template file?

    If you’re using do_shortcode() in a template file, try putting the shortcode inside a page temporarily and then switching to TwentyEleven.

    Thread Starter franchise

    (@franchise)

    Thanks Ian, yes, I used the [bgmp-map] in my widget. I did not use it directly inside my theme.
    I had a problem with the Loading the Map but I added this lines of code at themes functions.php — “add_filter( ‘bgmp_mapShortcodeCalled’, ‘your_theme_name_bgmp_shortcode_called’ );
    add_shortcode( ‘bgmp_mapShortcodeCalled’, ‘your_theme_name_bgmp_shortcode_called’ );”
    And the Map loaded properly.

    But the Placemark are not displaying in IE9. I can not change the theme because its live.
    What code should I add on the functions.php to make the Placemark visible on IE.

    Thanks

    Plugin Author Ian Dunn

    (@iandunn)

    I can’t tell you what code (if any) to use to fix the problem until we figure out what the problem actually is. The placemarks normally show up in all browsers, but there’s something different about your site that’s causing them to not show up in IE, so I’m trying to isolate the source of the problem. A problem with your theme is the most likely cause, but I can’t know that for sure unless we test the plugin a theme that I know will work.

    Widgets aren’t copied between themes, so that’s probably why the map didn’t show up at all when you switched to TwentyEleven. After you switch to TwentyEleven, you’ll need to either add the shortcode to a new widget, or to a page. Then you can check if the placemarks are visible in IE9, and then reset everything back to normal. The entire process should only take 1 minute.

    Thread Starter franchise

    (@franchise)

    Hello Ian, thanks alot i have activated the TwentyEleven on my site(PLEASE CHECK YOUR EMAIL FOR LINK) and the Basic Google Maps Placemarks works perfectly so please tell what should be wrong with my previous theme?

    Thanks alot

    Thread Starter franchise

    (@franchise)

    Hello Iann, I have changed the theme to wordpress TwentyEleven and email you. The Map works perfectly on IE9 but not on IE8 and below, please tell me what i should add into my theme to solve the problem.

    i have sent you an email of the link, thanks alot.

    Plugin Author Ian Dunn

    (@iandunn)

    It’s working for me in IE8. I see a marker in Copenhagen. Did you fix the problem?

    I did notice a problem, though. Your site is loading the Google Maps API twice. If you look at the page source, you’ll see this towards the bottom:

    <script type='text/javascript' src='http://maps.google.com/maps/api/js?sensor=false&ver=3.3.1'></script>
    <script type='text/javascript'>
    var bgmpData = [];
    [...]
    </script>
    <script type='text/javascript' src='http://[redacted]/wp-content/plugins/basic-google-maps-placemarks/functions.js?ver=1.6.1'></script>
    [...]
    <script type='text/javascript' src='http://maps.google.com/maps/api/js?sensor=true&ver=3'></script>

    The first time it loads (with “sensor=false&ver=3.3.1”) is from BGMP. I’m guessing that you have the second one (“sensor=true&ver=3”) hardcoded in your footer.php, or some other plugin is creating it. You need to remove the second one.

    Plugin Author Ian Dunn

    (@iandunn)

    I got your latest e-mail, but both sites still have the extra Maps API includes from your theme or another plugin. If you look in the source code you’ll need multiple includes of http://maps.google.com/maps/api/js with various parameters. The subdomain site has 2 extra copies, and the main site has 1 extra copy.

    You’ll need to remove all of the extra copies. There should only be 1 include of the Maps API on the page. If you have other Google Maps plugins active, you have to disable them. If your theme is including the Maps API, you have to remove it from the theme.

    Hey There,

    i found out in IE it is a problem to load twice. You are right.

    BUT: I have to unload wp_head(); to do this. Is there a second way the system load the plugin, trough actions or filter?

    I load the wp_head(); in header.php
    and i load the do_shortcode(‘[bgmp-map]’); on a page. Thats it.

    When i turn wp_head(); in header.php off. It works. But it cuts me off from other Plugins. You know a way the plugin is going beside wp_head(); ?

    thanks

    Plugin Author Ian Dunn

    (@iandunn)

    kobobo, you definitely don’t want to remove wp_head(). Instead try to find the other place where the API is being included.

    1. Disable all plugins (including BGMP) and switch to the TwentyEleven theme. View the source to see if it appears anywhere. If it does, it’s probably in a post or page.
    2. Switch back to your theme and view the source. If it appears, it’s probably in the theme’s header.php or footer.php. It could also be in a widget.
    3. If it’s not in the theme, start enabling the plugins one by one and viewing the source. Do BGMP last. Once you find the plugin that includes it, let me know which one it is.
Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Basic Google Maps Placemarks – Placemark not showing in INTERNET EXPLORER’ is closed to new replies.