Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    are you trying to link out to maps.google.com?

    you’d generate a normal html link using this sort of thing:

    https://maps.google.com/?q=#_LOCATIONADDRESS

    Thread Starter msgme

    (@msgme)

    Marcus, yes, that is what I would like to do. However, I must be using the wrong tags around the code as it is not working.

    Under Events>Settings>Formatting>Single Event Page>
    Default single event format: I have entered the following:

    <a href=https://maps.google.com/?q=
    #_LOCATIONADDRESS
    #_LOCATIONTOWN
    #_LOCATIONSTATE
    #_LOCATIONPOSTCODE

    What’s happening, is that on the Event page, only the Town, State, and Zip are displaying, and they are displaying as a link. However, it just takes you to a general Google Map.

    The Address (#_LOCATIONADDRESS) is not displaying at all.

    I am not that familiar with HTML tags, so please excuse.

    Thanks.

    I think you need to try something like this:

    <a href=https://maps.google.com/?q=#_LOCATIONADDRESS">
    #_LOCATIONADDRESS
    #_LOCATIONTOWN
    #_LOCATIONSTATE
    #_LOCATIONPOSTCODE</a>
    Thread Starter msgme

    (@msgme)

    Thanks for the suggestion!

    Well, that solved the “Address” problem from not displaying. Now everything is showing and it is linking to Google Maps. However, the link is only linking to the “numbers”, not the full address.

    For example: The address of the event is
    355 Main St
    Boston, MA

    The link is only picking up the “355” and nothing else (even though the entire address is showing as a link), so Google doesn’t know what to display.

    Thread Starter msgme

    (@msgme)

    Ok, figured it out. Here’s the full code:

    <a
    href="https://maps.google.com?q=#_LOCATIONADDRESS+#_LOCATIONTOWN
    +#_LOCATIONSTATE+#_LOCATIONPOSTCODE">
    
    #_LOCATIONADDRESS
    #_LOCATIONTOWN
    #_LOCATIONSTATE
    #_LOCATIONPOSTCODE
    </a>

    Works great!

    Plugin Support angelo_nwl

    (@angelo_nwl)

    thanks for the update.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Address Map Links’ is closed to new replies.