JBOX - Java problem - move button

Alexandre Florio aflorio at GISPLAN.COM.BR
Mon Aug 30 10:01:35 PDT 2004


Make sure your 'applet' tag contains the 'mayscript' option, ie:

  <applet
    codebase="/prototipo-gis/java/jBox"
    archive="jBox.jar"
    code="jBox.class"
    width=[mapwidth]
    height=[mapheight]
    name="jBox"
    MAYSCRIPT>
    <param name="image" value="http://[host][img]">
  </applet>

Au revoir
Alexandre


Em Mon, 30 Aug 2004 17:10:50 +0200
Pierre RELLA <Pierre.RELLA at AGRICULTURE.GOUV.FR> escreveu:

> I use Jbox (windowsNT) for zoom.
> When i draw a rectangle in the map i have the Applet JAVA error like:
> "netscape.javascriptJSException: Failure to evalue
> setbox_handler("jBox,311.0,72.0,403.0,116.0);
>  at sun.plugin.javascript.ocx.JSObject.eva(Unknown Source)
>  at evalThread.run(Unknown Source)
> box=true, drag=false"
> When i submit the execution on the HTML page i have the Zoom done. What
> don't work in Java?
> 
> I want to have a button to move in the map and i don't know how make?
> 
> Best regards
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 00000023.mimetmp
Type: application/pgp-signature
Size: 190 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20040830/1a99e2df/attachment.sig>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20040830/1a99e2df/attachment-0001.sig>


More information about the MapServer-users mailing list