[mapserver-users] Is there a way to add a single click zoom button

Pietro Giannini pgiannini at bytewise.it
Fri Jan 23 09:55:28 EST 2009


found!

1. the hidden field for zoom value should have the name "zoom" and not
"zoomsize", is a cgi variable.

2. the submit control "Refresh Map" should have no name:
      <input type="submit" value="Refresh Map">
    because the script attempts to run the form.submit() function, but the
    browser intercept the name of this control and return an error "submit
    is not a function".

3. the button control "Print Map" should have no name: see above.

in my machine it works, let me know.
bye
............pg

-- 
Pietro Giannini
Bytewise srl - Area GIS
41°50'38.58"N 12°29'13.39"E




On Ven, Gennaio 23, 2009 14:30, boesiii wrote:
>
> PG, here is the template file and map file.
>
> http://n2.nabble.com/file/n2203271/awa_map_final.html awa_map_final.html
> http://n2.nabble.com/file/n2203271/awa_map.map awa_map.map
> --
> View this message in context:
> http://n2.nabble.com/Is-there-a-way-to-add-a-single-click-zoom-button-tp2158109p2203271.html
> Sent from the Mapserver - User mailing list archive at Nabble.com.
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>





More information about the mapserver-users mailing list