[Google Maps API v2] Geocoder error
If this is the wrong Forum, please direct me to the right one.
When I use the API as shown below, I get the XML that follows:
http://maps.googleapis.com/maps/api/geocode/xml?address="500+New+Jersey+36+Eatontown,+NJ+07724"&sensor=false
<GeocodeResponse>
............. (removed for clarity -- u get the gist)
<formatted_address>500 State Highway 36, Eatontown, NJ 07724, USA</
formatted_address>
............. (removed for clarity -- u get the gist)
<location>
<lat>40.2907166</lat>
<lng>-74.0415471</lng>
</location>
............. (removed for clarity -- u get the gist)
</GeocodeResponse>
But when I use same API for Reverse Geo, I get an error, NO RESULTS
returned as show:
http://maps.googleapis.com/maps/api/geocode/xml?latlng="40.2907166,-74.0415471"&sensor=true
<GeocodeResponse>
<status>ZERO_RESULTS</status>
</GeocodeResponse>
I even tried the lat and long we have in our database for that address
and I get same result as shown:
http://maps.googleapis.com/maps/api/geocode/xml?latlng="40.290724,
-74.042013"&sensor=true
<GeocodeResponse>
<status>ZERO_RESULTS</status>
</GeocodeResponse>
When I use the Google Maps on the Browser for the lat and long's
above, I get the right address...
Does anyone know why?
--
You received this message because you are subscribed to the Google Groups "Google Maps API V2" group.
To post to this group, send email to google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home