Please stop sending me emails --- On Sun, 12/7/08, Björn Brala <[EMAIL PROTECTED]> wrote: From: Björn Brala <[EMAIL PROTECTED]> Subject: Re: ProgressbarControl and FF3/Chrome: error counting rendered markers To: Google-Maps-API@googlegroups.com Date: Sunday, December 7, 2008, 1:47 PM
How about updating the control even when a geocode fails? That was it shows operations, not markers. Then when all work is done remove it. In my system i use the control for counting the adding and removing of items, so the count is just a count of operations, no indication of the amount of items in the map. http://demo.geostart.nl/ 2008/12/7 borzoi <[EMAIL PROTECTED]> > But your locations all need geocoding, and some geocodes fail of > course - too quick, too many, unrecognised. How many markers get > rendered isn't the same as how many locations you started with. This is a second order of problem. Just to afford it, as a temporary solution, if you look at JS code, you note updating ProgressBar is done OUTSIDE the "if" condition to process response from getLocations(). So, independently you get a 200, a 620 or what, updating function is called 90 time, with EXACTLY the same count locations parameter. This is NOT a question. About removing ProgressBar: Google Maps API executes in delayed mode. This is a TRUE GOOD thing for a lot of reasons; but in this case, should I call remove(), even after loadMap() function, even after an artificial delay, ProgressBar will NEVER be showed. -- Bjorn Brala ---------------- GeoStart.nl- Google maps - Swis Webdesign --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to Google-Maps-API@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---