Wednesday, July 6, 2011

[Google Maps API v2] Re: Global Geocoder - Function does not display all locations

> Please can someone help.

Maybe. Google's geocoder has a limit of number of requests-per-day and
rate of requests-per-second. While those limits appear to change over
time (and this only mentions the per-second rate in passing:
http://code.google.com/apis/maps/documentation/geocoding/#Limits), I
would guess that you are exceeding the rate limit.

You could put in an error alert and add a delay between requests, but
really, a geocoder is designed to find addresses on the fly, from user
input - if you already know all the addresses you will be geocoding
and you know that those locations won't be moving what you should be
doing is geocoding them once, finding their coordinates and then
storing them in your code along with the other details (it looks to me
like you could just drop that number into the field that now says
"latlng: null", but maybe I'm not reading your code right).

Here is a page that returns coordinates along with geocoded results:
http://econym.org.uk/gmap/example_geo.htm

--
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


Real Estate