[Mapserver-users] JBox and Mozilla Firefox

Richard Greenwood rich at greenwoodmap.com
Mon Mar 8 06:28:14 PST 2004


Bonnin S. wrote:
> Hi all,
> 
> I'm working around Mapplet/JBox and I'm testing it on some popular browser. I have noticed that there are some problem with Mozilla Firefox. When I try to do some operations like zoom out the Mozilla java environment hangs and no other operations are possible.
> 
> At the following address there is a mapserver/Jbox application where I found the error:
> http://www2.tetonwyo.org/mapserver/mapserv.exe?MAP_IMAGETYPE=gif&MAP_LEGEND_STATUS=OFF&MAP_REFERENCE_STATUS=ON&java=on&imgext=2402364.115702+1406197.272727+2458002.297520+1447897.272727&map=tc%2Ftc.map&mapext=shapes&mode=browse&zoomsize=2&template=tc.html&layers=Roads+ownership+Water+state_fed&zoomdir=0&imgxy=292.5+40.5&imgbox=292.5+40.5+292.5+40.5&help=&jump=&map_size=440+330
> 
> Any suggestion?
> Thanks.

I have not tried Firefox yet, but there are two problems that I have run 
into with Mozilla 1.6:

1. A call to any of the public applet functions while the applet is 
still loading will cause it to hang. Mozilla seemed to be the only 
browser that did this. It was not so much a problem with jBox as it was 
with my own integration of jBox into the page. I was calling boxon(), 
boxoff(), or dragon() from page body's onLoad() to set the initial page 
state. However, I suspect the applet was not always fulling initialized. 
I added an additional initilization parameter just last week to avoid 
this problem. When do you try it?

2. JRE 1.4.3 on Windows was causing problems. I have not had time to 
explore that further.

What platform are you on? What Java VM version? You might check other 
jBox sites to see if they exhibit the same problems. I will try to load 
Firefox sometime soon.

Rich


-- 
Richard Greenwood
www.greenwoodmap.com



More information about the MapServer-users mailing list