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.
now loads at maximum performance, ma sha Allah. The next major update: real-time updates of posted iqamat times, inshaAllah!