[Mapserver-users] JBox - Getting started - Small problem

Wim Blanken PI wim.blanken at planet.nl
Sun Jan 18 08:58:50 EST 2004


Hi Steve,

Are you using Internet Explorer as a client?
I had a simular problem and had to recompile the Jbox applet to a target 1.1
to make it complient to internet explorer MS VM.
If you use the sun JRE than it works OK.
If you like to get my compiled jBox mail me and I'll send it to you.

Regards,

Wim Blanken
The Netherlands.
----- Original Message -----
From: "Steve McCrone" <ms57 at streamyx.com>
To: <mapserver-users at lists.gis.umn.edu>
Sent: Sunday, January 18, 2004 8:49 AM
Subject: [Mapserver-users] JBox - Getting started - Small problem


> Hi,
>
> I'm trying to implement the JBox with the Demo.html sample. I've followed
> the instructions contained in -
> http://mapserver.gis.umn.edu/doc40/jbox-howto.html
>
> The gif is generated but does not appear, nor does the rubber-band zoom
> rectangle does not appear.
>
> I beleive it is not finging the JBox.class. It looks dead easy, but!!! -
> here's what I've added-
>
> function setbox_handler(name, minx, miny, maxx, maxy, redraw) {
> document.mapserv.imgbox.value = minx + " " + miny + " " + maxx + " " +
maxy;
> document.mapserv.imgxy.value = minx + " " + miny;
> }
> ===============
> <form method=GET name = "mapserv" action="/cgi-bin/mapserv.exe">
> ===============
> <applet codebase="Java/JBox" code="jBox.class" width=[mapwidth]
> height=[mapheight] name="jBox" MAYSCRIPT>
> <param name="image" value="http://[host][img]">
> </applet>
> ==============
> <input type="hidden" name="imgbox" value="-1 -1 -1 -1">
> ==============
>
> Note: the jbox class etc is in the directory wwwroot/Java/JBox, which is
the
> main localhost directory. The demo_init.html and demo.html are also in the
> wwwroot directory.
>
> Thanks
>
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users




More information about the mapserver-users mailing list