loading data from text file in background... on purpose

1 view
Skip to first unread message

Tariq Ahmed

unread,
Nov 2, 2007, 1:06:01 PM11/2/07
to prayinjam...@googlegroups.com
bismillah.  can i deliberately load data from a text file in the background?

i used (and credited) text-data example i found on the web to enable text-file-loaded data.  but in the example, the data was integral to what was drawn when the map loaded...

...so that example was written so that the map waits for the data before displaying.

so my question can be rephrased: can i move the code that loads the data so that it does not slow down the initial map view?  if so, where can i move it so that the data is accessible to the load function() and its event listeners?

MORE INFO:
i use a text file to contain the main body of data in a still-alpha version of an update to the web site.

but, the data in the text file is irrelevant to the first point displayed when the map loads.  the data needed for that one point is contained in the code that draws the map itself.

alpha file location: http://prayinjamat.com/tester/LJamatAlpha1.html

[the current code running the site, http://prayinjamat.com/LJamat00001.html -- here all data is stored in an array that is part of the html.  this code works fine, alhamdolillah.]




--
bismillah.  as salamu alaykum.  

You wanted faster loading maps? http://prayinjamat.com now loads at maximum performance, ma sha Allah.  The next major update: real-time updates of posted iqamat times, inshaAllah!

Abu AbdAllah

unread,
Nov 10, 2007, 9:58:51 PM11/10/07
to prayinjamat.com development group
bismillah. please note that the question of map performance,
persists. but the alpha site has been upgraded to replace the
original code.

so now if you just want to inspect the code which loads the text file,
etc., the new address is http://prayinjamat.com/LJamat00001.html --
the old code has been taken down from the site, alhamdolillah.

Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages