Solved

Google maps Issues

Posted on 2013-01-07
5
344 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
Question by:myselfrandhawa
  • 3
  • 2
5 Comments
 
LVL 36

Expert Comment

by:SidFishes
Comment Utility
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 15

Author Comment

by:myselfrandhawa
Comment Utility
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
Comment Utility
"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 15

Accepted Solution

by:
myselfrandhawa earned 0 total points
Comment Utility
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 15

Author Closing Comment

by:myselfrandhawa
Comment Utility
solved by using the condition code to handle the request using google map version 3
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Hi. There are several upload tutorials using jquery and coldfusion. I found a very interesting one here Upload Your Files using Jquery & ColdFusion and Preview them (http://www.randhawaworld.com/) . I did keep the main js functions but made sever…
Recently while working on a project I got a very annoying cfdocument has no body error message. I had never seen this error before. So I checked the code. The code was pretty simple; it was Just showing me the cfdocumnt tag and inside that tag a …
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

762 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

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now