Skip to main content
Inspiring
December 21, 2008
Question

a problem where i stuck i never expected

  • December 21, 2008
  • 1 reply
  • 307 views
I have a query which is returning a result as struct as:

and i <cfdump the results and i get as:

struct
ACCURACY 1
HASGEOCODE true
LAT 31.6359336
LON 74.8346296

i wanna use these values in a google map but stucking where i use it and how?

like in this

<gm:googlemappoint title="#addr#" address="#addr# #addr2#" lon="-111.72488451004028" lat="33.37397536669671">

stupid me why i can'y figure it out.

can u guide me
This topic has been closed for replies.

1 reply

Inspiring
December 21, 2008
> i wanna use these values in a google map

Substitute your structure and key name for the hard coded values. The keyname being "LON", "LAT", etcetera.

<cfoutput>
<gm:googlemappoint lat="#yourStructure.keyName#" ...>
</cfoutput>