[Mapserver-west] osx and web mapping

massimodisasha massimodisasha at yahoo.it
Wed Oct 25 20:46:58 EDT 2006


i'v reed more about mapserver and now thanks to the mapserver-irc  
channel, i've done the first step to work with mapserver .... this is  
wht i done :

i uncompressed the workshop.zip in the /~home/sites  "folder"
then i modify the index.html to point to the maserv :

     <!-- EDIT THE FORM ACTION -->
     <form name="demo" method="GET" action="/cgi-bin/mapserv"  
onSubmit="submit_form()">

       <input type="hidden" name="layer" value="lakespy2">
       <input type="hidden" name="layer" value="dlgstln2">
       <input type="hidden" name="zoomsize" value=2>

       <!-- EDIT THESE HIDDEN VARIABLES -->
       <input type="hidden" name="map" value="/Users/epifanio/Sites/ 
workshop/itasca.map">
       <input type="hidden" name="program" value="/cgi-bin/mapserv">
       <input type="hidden" name="root" value="/workshop">
       <input type="hidden" name="map_web_imagepath" value="/Users/ 
epifanio/Sites/workshop/tmp/">
       <input type="hidden" name="map_web_imageurl" value="/tmp/">

       <select name="map_web_template" size="1">
         <option value="itasca_basic.html"> Basic Application
         <option value="itasca_adds_scalebar.html"> &nbsp;&nbsp;--  
Adds second scalebar
         <option value="itasca_adds_pan.html"> &nbsp;&nbsp;-- Adds  
pan controls
         <option value="itasca_adds_frames.html"> &nbsp;&nbsp;-- Adds  
frames
         <option value="itasca_adds_dhtml.html"> &nbsp;&nbsp;-- Adds  
dhtml rubber-band box
       </select>
       <input type="submit" value="Initialize"></center>

now when i point my browser to the workshop i've the 5 options :

basic application
adds second scalebar
adds pan controls
adds frames
adds dhtml rubber-band box

this is the result if i check : "adds dhtml rubber-band box"
http://img91.imageshack.us/img91/7984/immagine3bo9.png

the other 4 option do not work!
if i check one of the other option, the map was not loaded....

http://img242.imageshack.us/img242/2662/immagine2rc1.png

thanks for any suggestion !
great thanks.
Massimo



More information about the Mapserver-west mailing list