[mapserver-users] Feedback on my App, and host of questions

Hankley, Chip Chip.Hankley at GASAI.Com
Wed Aug 7 09:18:02 PDT 2002


I could use a little feedback / help on an app I just put up.

http://www.gasai.com/GISApps/CMTViewer/

This should present you with a log on screen. Choose the "Anonymous" access
button. Our web server's a dog, so be patient. The application uses PHP-
MapScript and Rosa. A lot of the users of this app have relatively low 
screen res (800 x 600), so I'm using an "expandable legend" to save on 
screen real-estate.

1) I've only tested this under IE 6 and NS 6 on Win2K. The dynamic legend 
relies pretty heavilly on CSS stuff. I'm just curious how it works under 
other OS's and browsers (BTW, is there a URL somewhere that allows one to do

this type of test... some type of "renderer" that will show you what your 
page looks like under various OS / browser combinations...that would be 
nice).

2) The behavior under Netscape 6 is weird. Netscape won't pass form 
variables for elements in a DIV that is hidden. For example, expand 'Base 
Data' by clicking the blue bullet, turn on 'General Labels', then contract 
'Base Data' by clicking the red bullet, then hit the 'redraw the map' 
button. You'll see that everything that was checked under 'Base Data' is now

NOT checked. Not suprisingly, this does NOT happen under IE.

3) The way I was going to get around the issue in #2 was to simply expand 
all of the items right before the form was submitted (for NS users), using 
the onSubmit event. However, the ROSA applet seems to ignore the onSubmit 
event for some reason. Anyone know why, or a way around this?

4) I'm using JPEG as the image format, and am not very happy with the way it

looks (vector stuff seems to 'bleed'). I don't want to use GIF b/c of the 
Unisys thing (they want $3500 for us to license GIF).
  4a) I thought I heard some rumblings about PNG support (using 'sixlegs?') 
      in ROSA... what became of this?
  4b) On my box, I have the Java 2 (v1.3.1_02) VM installed. When using 
      this, ROSA works great with PNG images. I had this idea of a little JS

      that would detect what version of Java the user had, and respond 
      accordingly (JPEG for less than Java 2, PNG for greater), but I can't 
      find a way to detect WHICH version of Java the client has. Is there a 
      way to do this?

Thanks for the input!

Chip Hankley



More information about the MapServer-users mailing list