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

    (@iandunn)

    It’s working when I visit the page, but there is an error in the JavaScript console that may indicate other problems:

    You have included the Google Maps API multiple times on this page. This may cause unexpected errors.

    It’s probably being included a second time by another plugin or by your theme.

    Thread Starter clairative

    (@clairative)

    I have corrected this error but the problem remains

    Thread Starter clairative

    (@clairative)

    the strange thing is that if someone has never opened the site, the map works, if after that person back there, map does not work anymore

    Thread Starter clairative

    (@clairative)

    reinstalling everything, shows “Loading map …”, but no map. I’ve already checked the footer

    <? php wp_footer (); ?>

    </ body>
    </ html>

    is this right?

    Plugin Author Ian Dunn

    (@iandunn)

    Ah, ok, I see it happening now too.

    The bgmpData variable is output in the source, but it looks like you may have some custom code that loads the BGMP JavaScript before bgmpData is output.

    JS.load('https://www.keepradio.it/wp-content/plugins/basic-google-maps-placemarks/functions.js', function() {
    });

    Why is that there? It shouldn’t be necessary. If it is necessary because of some custom stuff on your end, try moving it to after bgmpData is output.

    Thread Starter clairative

    (@clairative)

    it was a test, because if I do not call the js after the page load it remains on “loading map”
    I did not understand where you suggest I move it

    Thread Starter clairative

    (@clairative)

    Now I removed my script, if you take a look, you’ll see that it is still on the loading

    Thread Starter clairative

    (@clairative)

    I put an alert in functions.js, you can see that the alert appears only to refresh the browser, what does that mean? as I can do to properly load the file?

    Thread Starter clairative

    (@clairative)

    if i enter my script, the first time the map fails to load, but after a refresh is also available if you browse the site and when you return to that page …. the question is, how do I load data map the first time? if I use your plugin without modification remains on loading … I’m desperate!

    Plugin Author Ian Dunn

    (@iandunn)

    It looks like the dynamic script tag is still there; can you remove it so I can see the problem happening under normal conditions?

    Whatever the problem is, it’s likely caused by another plugin, or your theme. If you temporarily disable all the plugins and switch to one of the Core themes, I’ll bet that it works fine. You can then re-enable them one by one until you find the one that causes the conflict.

    That’ll help isolate what the problem actually is, which will then point you to a solution.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Basic Google Maps Placemarks error: bgmpData undefined.’ is closed to new replies.