I've been silllt again. Little preloader/js loader control demo.
http://demo.geostart.nl/cPreloader.html
2008/9/18 Björn Brala <[EMAIL PROTECTED]>
> Be weary of what mike says, i've been using the same,
>
> this.oAddInterval = setInterval(function() { oGeoStart.displayBatch(); },
> this._iLoadInterval);
>
> I've built some sort of preloader/load process class kinda thing.
>
> http://demo.geostart.nl/preloader.class.js
>
>
> oPreloader = new cPreloader(oMap, iWidth);
> oPreloader.start(500); // Amount of operations, unhides the preloader.
> oPreloader.updateLoader(iAdded); // Add amount of operations just done
> oPreloader.remove(); // Hide the preloader.
>
> At the bottom of the script you find the LoaderControl. This control is a
> google maps custom control you might wanna chage to fit your site.
>
> 2008/9/18 Mike Williams <[EMAIL PROTECTED]>
>
>
>> Wasn't it kleckser who wrote:
>> >Option 2: Additionally show the progress like xxx of yyy markers
>> >loaded
>>
>> The problem with that is that browsers (except Chrome?) don't refresh
>> the screen display while Javascript is actually running. They wait for
>> Javascript to pause. So if you're addOverlay()ing markers in a loop, you
>> could tell the browser to update the progress bar but it won't display
>> the change until you finish the loop and pass control back to the
>> browser.
>>
>> It is possible to process your markers in batches, using setTimeout to
>> trigger the processing of the next batch. That gets rather messy and
>> moves away from your "easy to implement" objective. It can also have a
>> significant impact on the speed at which your markers get processed.
>>
>> --
>> http://econym.org.uk/gmap
>> The Blackpool Community Church Javascript Team
>>
>>
>> >>
>>
>
>
> --
> Bjorn Brala
> ----------------
> GeoStart.nl- Google maps - Swis Webdesign
>
>
--
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 [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
-~----------~----~----~----~------~----~------~--~---