> Date: Sun, 27 Feb 2011 03:27:06 -0800
> Subject: [Google Maps API v2] Re: can"t search find location(lat, lng) using
> database
> From: [email protected]
> To: [email protected]
>
> > It works perfectly, but only some data that couldnt found the location
> > and alert the last state that store in data not found.
>
> Geocoding in a tight loop is a bad idea, it will fail after a few
> attempts as Google rate-limits geocoding to prevent abuse. See
> http://econym.org.uk/gmap/geomulti.htm
>
> Also consider whether you should be geocoding the same states every
> time someone looks at your map ... do they move around much?
>
Basically the loop is used to find the lat, lng and then use the lat,lng to do
some calculation. Thx
--
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 [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.