Hello -
I am not sure how to approach this -- I have created a zip code radius search
to locate stores accross the us. That part is working fine. I would like to
take this a step further and plot these locations on a Google Map. I have have
everything working great with Static data. I now need to migrate on piece of
the code so that the data points are plotted dynamically.
I need to create a variable from a the result of queried data. Not sure if an
array would work here (not my strong point) In any case here is a snippet of
code that I am working with. If this data was populated manually, it works
perfect. When I try to do this by outputting a query I get no data.
Thanks for you help.
var markers = [ <cfoutput query="getlocations">{ 'abbr': 'A', 'name':
'#firstname# #middleinit# #lastname#, #designation#', 'latitude':#lat#,
'longitude':#long#, 'wp':'http://www.mysite.com/locator/locate.cfm' },
</cfoutput> ];
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306245
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4