Hi
I am new to google maps api development.

My requirement is to retrieve the location(place) by supplying a latitude 
and longitude. I dont want this to be displayed on map. I have to display 
it in on screen as text. The user will enter the logitude and latitude, the 
application (it is a windows application written in .net) has to find out 
the location and display it on screen.

I tried this using google api 
http://maps.googleapis.com/maps/api/geocode/xml?latlng="; + latitude + "," + 
longitude + "&sensor=false"

But for some latitude, longitude pair , it has only three pair of <result> 
tag. Normally it will contain 5 <result> tags and the <type> tage having 
value 'route' or 'locality' will have values in <formatted_address> which 
will be the actual location. But for those with only three <result> tag, 
they will not contain <type> tage with value 'route' and 'locality'. So 
they will not contain the actual location.

Why this is happening? Is there any solution?

Regards
Vijay

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-api/-/Ohal8Wu6VgEJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-api?hl=en.

Reply via email to