[Mapserver-users] JBox: Setting busy image

Richard Greenwood rich at greenwoodmap.com
Thu Jan 29 00:07:49 EST 2004


Palanisamy, Giri wrote:

> HI,
> 
> I am reposting this question.
> 
> I am trying to show an intermediate busy image while the JBox applet
> working, something very similar to 
> 
> http://www.dnr.state.mn.us/maps/landview.html
> 
> when you click any zoom option, you will notice a 'Making your map...'
> image in this page.. I would like to do the same function.

Giri,

I looked at this and can not offer a simple explanation, but like I said 
in the howto at
    http://mapserver.gis.umn.edu/doc40/jbox-howto.html
It generally works with setimage(). In the simple example in the howto, 
the map is rendered when jBox is initialized and that's it. Each page 
submit causes the process to happen again. But with setimage(), the jBox 
applet gets initialized, and then setimage() takes control of repainting 
the page. setimage() provides a lower level of control, but requires 
more effort on the part of the application. I do not see a simple way to 
display a busyimage when using the "basic" jBox functionality as jBox 
stands now. I suspect that some modification to jBox would be required.

Regarding the redraw issue. Steve says redraw is no longer used, so I 
will correct the howto.

-- 
Richard Greenwood
www.greenwoodmap.com




More information about the mapserver-users mailing list