Support » Plugin: The Events Calendar » Event map thinks all venues are in Utah

  • Resolved rockyourblog

    (@rockyourblog)


    Hey,

    the plugin works great so far, but I have one rather strange issue: The map on every event page is only displaying the world map and not the adress of the venue.

    Examining the source code of the page, I can see that somehow the state code of Utah gets mixed up in the link used in the iframe that calls the Google Maps API. If I’m going to add an address in Germany to a venue, that obviously doesn’t work since this adress doesn’t exist in Utah and Google can’t find the location, hence the world map is shown.

    Heres an example:

    <iframe style="border:0" src="https://www.google.com/maps/embed/v1/place?key=AIzaSyDNsicAsP6-VuGtAb1O9riI3oc_NOb7IOU&q=Kurze+Str.+13+G%C3%B6ttingen+UT+37073+Deutschland+" allowfullscreen="" width="100%" height="350px" frameborder="0">
    </iframe>

    If I manually delete the state code (UT) from the link in the source code, the map works flawlessly. Strangely, the map link that can be shown in addition to the iframe and that redirects straight to Google Maps is showing the correct venue adress.

    I double checked the entered adresses in the venues, but AFAIK these should be correct.

    What could be causing this? I’m at my wits’ end.

    • This topic was modified 3 months, 2 weeks ago by rockyourblog.

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

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.