Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

a problem where i stuck i never expected

Explorer ,
Dec 21, 2008 Dec 21, 2008
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
TOPICS
Advanced techniques
279
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Valorous Hero ,
Dec 21, 2008 Dec 21, 2008
LATEST
> 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>
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources