Skip to main content
Known Participant
July 22, 2010
Question

CFmapItem "markerwindowcontent" how to add URL?

  • July 22, 2010
  • 1 reply
  • 685 views

I'am using dynamic data from DB, but notice that unable to add hyperlink for my URL...

<cfoutput query = "GetMapsData">

        <cfmapitem

          address="#Latitude_ID#, #Longitude_ID#"

          markericon="markers/#category#.png"

          markerwindowcontent="#Map_Title# <br/> #Description# <br/> #URL# <br/><br/>">


</cfoutput>

I try this..

<cfoutput query = "GetMapsData">
        <cfmapitem
          address="#Latitude_ID#, #Longitude_ID#"
          markericon="markers/#category#.png"
          markerwindowcontent="#Map_Title# <br/> #Description# <br/> <a href="#URL#">#URL#</a> <br/><br/>">
</cfoutput>

Is error..

Anybody can help?

    This topic has been closed for replies.

    1 reply

    Known Participant
    July 24, 2010

    finally i found the script..

    <a href="#URL#">#URL#</a> <a href='#URL#'>#URL#</a>

    Only change the " to '