Hey everyone, I am attempting my first map in Flash and so far everything has worked great. But, I'm running into one problem. I'm adding about 350 markers to the map. When I add them, about 125 fail. Of the failures, about 66% of them are just bad data (which we're working to correct). But the remaining 33% are completely legitimate addresses that come back with single point results when manually searched through Google maps. Does anyone know why this would happen?
Background: Here's the URL so you can see what I'm doing. The data is actually being pulled into Flash from an Excel file via XML. I've checked the import and everything works great. You can even see the data in the "List by State" tab. URL: http://vistive.osbardigital.com/processors_elevators.html 1. First, I just pulled all the addresses from the XML and ran through them using a FOR loop. Worked quickly but had about a 30% fail rate. Of the 30%, about 30% of those were legitimate. So, of 350, about 30 legitimate addresses would fail. 2. My first thought after searching the forums was that I was making too many requests at one time. So, I changed the request method so that it will not make another request until the first one finishes. Seriously sucked. Not only did it take 1-2 minutes to get through all 350 markers but I still had a fail rate of about 30%. (That's the version that is posted online now.) 3. Then I switched it so that all my addresses are added to a queue. I run through the queue popping addresses off, adding them and, if they fail, shifting them back onto the queue. I run through the list several times only processing the failures trying to increase my success rate. Also works quickly but stablalizes after about 2 passes with the exact same fail rate. Now, here's the weird part. If I try this about 10 times in a row, I will get the exact same fail rate. (As of last night, it was 127 of 336) But, if I wait about an hour and try again, I will get a completely different fail rate. (As of this morning, it is 280 out of 336) I'm guessing Google is caching the results somehow but I haven't seen anything on any of the forums. Does anyone know? Here are a few examples of legitimate addresses that failing: 605 12th street Aurora NE 68818 411 6th Street Cedar Rapids IA 52401 108 N Adams St Harvard NE 68944 100 Wall St Cairo OH 45820 647 Hartford St Trumbull NE 68980 I am seriously at my wits end. I've searched the forums, the web and everything else trying to figure out why this might be failing with legitimate addresses. I would be more than happy to send anyone the complete code if they want to take a look. Thanks a million for any help. I'm really hoping I'm just doing something stupid because it's my first try. Steve --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
