Hello, I'm trying to find the best way to overlay satellite data on a map. All my data is stored in databases written in IDL. What I've been doing so far is pre-processing the data into PNG's that Google Maps can work with. But that has a few limitations and I'm exploring other ways of getting at the data.
The current method I'm testing is pointing the image url in the getTile() function to a cgi script that I've written to run IDL, produce the image in a temporary location, access the new image in the CGI, and feed it back to the img object. It's a surprisingly efficient method (at least as far as page load times) but I'm running into the problem where only a fraction of the images are returned to the map and displayed. I had a hunch that it has something to do with JavaScript not waiting long enough for the CGI to finish (e.g. all the tiles sending commands to the CGI, and the CGI only handling them one at a time) , since panning returns all the images correctly while refreshing the whole viewport gives a few gaps. Sure enough, embedding a wait command in the JavaScript routine did the trick. But, doing this seriously cuts down on the speed and responsiveness of the application. Does anyone out there know of a way around this issue, or another method to get the data on the page? One thing to note: my CGI makes use of the system() command in Perl to launch IDL, load the data, and make the plots. If, indeed, the issue is a CGI pileup when all the tiles are trying to get added all at once, the solution could be as simple as finding a way to fork the processes. I tried using fork() within the script, and still no progress... -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
