so you got it to work - that's good...

On 16/10/06, James Blaha <[EMAIL PROTECTED]> wrote:
>
> Hi Ray,
>
> I have not seen your CFC yet but I will take a look for sure. Thanks for
> your post.
>
> -Jim
>
> All: FYI Here's some Google Code That Works! I just need to figure out how
> to pass a address to it now.
>
> <!--- UK Postal Code
> <cfparam name="url.pc" default="SE17PB" /> --->
>
> <!--- US Postal Code --->
> <!--- <cfparam name="url.pc" default="06050" /> --->
>
> <cfparam name="url.pc" default="06085" />
>
> <!--- KML, or Keyhole Markup Language, is an XML grammar and file format
> for modeling and storing geographic
>        features such as points, lines, images and polygons for display in
> Google Earth™ and Google Maps™. --->
> <!--- http://earth.google.com/kml/whatiskml.html --->
>
> <cfhttp url="http://maps.google.com/maps?q=#url.PC#&output=kml";
> delimiter="," resolveurl="yes" />
>
> <cfoutput>
>
> <!--- #cfhttp.FileContent# --->
> <cfdump var="#xmlparse(cfhttp.FileContent)#"/><br />
>
>
> <cfset request.GoogleXMLResult = xmlparse(cfhttp.FileContent) />
> <cfset request.coords =
> request.GoogleXMLResult.kml.placemark.point.coordinates.XMLText />
>
> #request.coords#
>
> </cfoutput>
>
> <!--- Output Examples: --->
> <!--- 06053 -72.790835,41.686667,0  --->
> <!--- 06050 -72.780000,41.661111,0  --->
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256951
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to