[mapserver-users] Mapplet and Mapsize

Brian Fischer bfischer at mpls.houstoneng.com
Wed Mar 6 15:42:11 EST 2002


Hi,
 
I am trying to add a drop down menu to automatically change the size of
the map.  I am using Steve Lime's mapplet and MapServ 3.5.  I can not
seem to get the width and height changed in the applet using JavaScript.
Is this possible or do I have the syntax wrong?
 
function changemapsize() {
  document.mapplet.width.value = "400" ;
  document.mapplet.height.value = "300" ;
  document.mapserv.submit();
  }
 
 
<applet codebase="/tools/mapserv35/java/mapplet" code="mapplet.class"
name="mapplet" width="500" height="400" MAYSCRIPT >
             <param name="image"
value="http://[host]/tools/mapserv35/temp_mapserv/[img]">
             <param name="jitter" value="10">
             <param name="thickness" value="2">
             <param name="color" value="255,0,0"> 
             <param name="name" value="mapplet">
          </applet>
 
Thanks,
Brian 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20020306/b57c7b8c/attachment.html


More information about the mapserver-users mailing list