• Resolved 337soundandvision

    (@337soundandvision)


    The Google Maps integration works great with one exception- the pin generated by the location in Events Manager does not a link to Google Maps so that users can get directions.

    When I enter the address in the location section of a new event, a Google Maps preview does show up. So I’m assuming that means I’ve entered a valid Google Maps address.

    However, the only way to click through the embedded map to Google Maps to get directions is to zoom the map big enough that the actual Google pin is visible and click on that. Exacerbating the issue is that in most cases, the actual Google Maps pin is hidden behind the red pin generated in E.M.

    I’m using a valid Google API key.

    How can I code the location balloon in E.M. so that the red pin generated in Events Manager acts just like an actual Google Maps pin that links to the location in Google Maps with the pre-filled address?

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter 337soundandvision

    (@337soundandvision)

    I can email you screenshots if that will help- the site is behind an under construction firewall.

    Stonehenge Creations

    (@duisterdenhaag)

    Hi,
    EM User here too ??

    You can achieve this by adding the below snippet in your Events > Settings > Formatting > Maps > Global Map Format > Location balloon format Or Events > Settings > Formatting > Maps > Single Location/Event Map Format > Location balloon format.

    <a href="https://maps.google.com/maps?daddr=#_LOCATIONADDRESS+#_LOCATIONTOWN" target="_blank" rel="nofollow">Get driving directions ?</a>

    To easily style your Google Maps (and set the zoom level, for example) you can use my plugin: https://www.ads-software.com/plugins/stonehenge-em-maps-styling/

    Thread Starter 337soundandvision

    (@337soundandvision)

    Worked like a charm, and as someone new to coding, I see how to structure it. I really appreciate the help Patrick!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Map Balloon Issue’ is closed to new replies.