Solved

Google maps Issues

Posted on 2013-01-07
5
348 Views
Last Modified: 2013-03-16
My Situation is here bit different, I need the following items to be searched in the Google Map:

Address,City,State,Zipcode,County,SubDivision, Lat, Lon

I checked all CFC's of google geocode at riaforge and others but none is providing county and subdivision
0
Comment
  • 3
  • 2
5 Comments
 
LVL 36

Expert Comment

by:SidFishes
ID: 38755138
You can get county by parsing the json for administrative_area_level_2

https://developers.google.com/maps/documentation/geocoding/#GeocodingResponses

although I've found this to be not very reliable

There is no returned data for subdivision
0
 
LVL 16

Author Comment

by:Gurpreet Singh Randhawa
ID: 38755804
so is there any CFC which extracts this all and if cfmap can do can you please provide guidance here
0
 
LVL 36

Expert Comment

by:SidFishes
ID: 38760014
"so is there any CFC which extracts this all "

as noted, subdivision isn't something you can get from google.

County you can but you'll probably have to parse the json yourself.  

cfmap won't do it.
0
 
LVL 16

Accepted Solution

by:
Gurpreet Singh Randhawa earned 0 total points
ID: 38762186
Looking at my Old CFC, i do get this Kind of Error in the File. How to Overcome this, any Idea.

Element ADDRESSDETAILS.COUNTRY.ADMINISTRATIVEAREA.SUBADMINISTRATIVEAREA.LOCALITY.THOROUGHFARE.THOROUGHFARENAME.XMLTEXT is undefined in XMLRESULT.

Due to this, i was trying to change the previous code to new cfc, but i am facing too much issues as it ha been used multiple places and donno as it reflects multiple places

Thanks
0
 
LVL 16

Author Closing Comment

by:Gurpreet Singh Randhawa
ID: 38991398
solved by using the condition code to handle the request using google map version 3
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article  is about submitting  form through  ColdFusion.Ajax.submitForm to the action page and send a response back in JSON format which later can be decoded using ColdFusion.JSON.decode. By this way you can avoid the usual page refresh for subm…
The technique is by far very Simple! How we can export the ColdFusion query results to DOC file?  Well before writing this I researched a lot in Internet but did not found a good Answer anyways!  So i thought now i should share my small snippet w…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question