Hi ed123- In addition to pausing and making sure you're not sending simultaneous requests, you also need to add in a delay if your code ever gets the over-quota error. There's a JS API example that shows how to do this: http://gmaps-samples.googlecode.com/svn/trunk/geocoder/delayed.html
We've purposefully made it difficult to geocode multiple addresses at a time, as we want developers to pre-geocode any known addresses, and just use the geocoder for user-entered addresses. What's the use case that necessitates geocoding multiple new addresses at a time? - pamela On Thu, Apr 23, 2009 at 1:52 PM, ed123 <[email protected]> wrote: > > Hello, > > Any feedback on the issue below is greatly appreciated. > > I have a Google Map component set up in my Flex 2.0.1 application > (using the map_flex_1_9_Premier.swc) that is currently configured to > accept and process N number of locations (LatLng, or address values) > via the ClientGeocoder geocode method. My problem is that even under > the following conditions, I get seemingly random and inconsistent > (meaning that sometimes they succeed and sometimes they don't, all > within a <1 minute time window) 620 error responses for only some of > my locations (probably 1/10 would be a fair assumption): > > 1. My app is hosted on the web with a valid enterprise client key > 2. I've tried setting a 100ms delay between geocoder requests as > prescribed by many web posts > 3. I've tried sending out requests in a synchronous fashion i.e. I'm > waiting for a geocode request to fully process and then I subsequently > send out the next geocode request - sending only 1 request at a time > to ensure that no overlapping or concurrent requests are going out > 4. I have only 1 ClientGeocoder instantiated and am following all of > the guidelines outlined by Google > > My locations are known valid - known city state pairs as well as valid > lat/lng requests - this I have confirmed manually to ensure that it's > not simply a lookup problem. > > Has anyone had this kind of issue, and if so, how did you work around > it or better yet, resolve it? > > Thanks for your time. > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API For Flash" 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-for-flash?hl=en -~----------~----~----~----~------~----~------~--~---
