• Resolved bhammondCVL

    (@bhammondcvl)


    The Google Maps function no longer seems to work.

    The link above has a perfectly suitable address, as shown in this screenshot:

    But when you view the location, the street address has “XXX” prepended to it.

    This map feature used to work fine; I’m not sure what’s changed. Google APIs load w/o error, and the API key is valid.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • I don’t see any place where Events Manager is prepending XXX to the address. Did you add any filters like add_filter(’em_location_save_meta’, …)?

    Thread Starter bhammondCVL

    (@bhammondcvl)

    No, we’re not using any filters like that.

    I don’t know what location data the plugin is sending to Google Maps, but if you look at the screenshot above, in my initial post, you can see that the location information is entered correctly. But, when you view the location on the site, you see “XXX” in front of the street address.

    I’m assuming that ‘XXX’ is messing up the location data sent to Google Maps API, but that’s just an assumption.

    • This reply was modified 1 year, 6 months ago by bhammondCVL. Reason: added a bit more info

    I don’t know where the xxx is coming from. I don’t see anything in Events Manager that’s doing that. But once the xxx is prepended, Google Maps will not be able to display the location.

    Thread Starter bhammondCVL

    (@bhammondcvl)

    Mmm. Well, I think you’re right–it doesn’t seem to be the Events Manager plugin causing this. I installed the plugin in a different, completely generic, WordPress site and it worked fine. The failure of the maps to generate is likely a problem with the API (though the settings are all correct and there were no errors in the console).

    The ‘xxx’ is coming from something specific to that one site, and is probably unrelated to the Maps API, but I have no idea what.

    Anyway: I will mark this as resolved, as I’m pretty sure it’s not your problem to puzzle about. Sorry for the bother.

    Thread Starter bhammondCVL

    (@bhammondcvl)

    Just to sum this up: I reset all the Event Manager settings and the ‘XXX’ disappeared and the maps worked properly. I still have no idea what the cause was, but it appears to have been something corrupted in the plugin settings.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Google Maps no longer work’ is closed to new replies.