Zoom to Area code - it works if anyone needs it
Gary Watry
watry at COAPS.FSU.EDU
Mon Dec 5 06:26:01 PST 2005
Javascript
// zoom to State or Region
function GoRegion() {
// alert(document.mapserv.mapzoomarea.value);
document.mapserv.target="";
document.mapserv.mode.value="browse";
document.mapserv.imgext.value = (document.mapserv.mapzoomarea.value);
document.mapserv.submit();
HTML
<select name="mapzoomarea" onChange="GoRegion();">
<option>Zoom to State or Region</option>
<option>------------------------</option>
<option value="-89.57 34.35 -81.03 30.39">AL - Alabama</option>
<option value="-88.84 31.29 -86.63 29.42">AL - Coastal</option>
<option value="-87.63 31.53 -76.61 23.84">FL - Florida</option>
<option value="-80.28 32.63 -77.35 34.67">SC - Northern Coastal</option>
<option value="-81.25 31.71 -78.31 33.75">SC - Southern Coast</option>
</select>
______________________________________________________________
Gary L. Watry
GIS Coordinator
Center for Ocean-Atmospheric Prediction Studies
FSU / COAPS
Johnson Building, RM 215
2035 East Paul Dirac Drive
Tallahassee, Florida 32306-2840
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20051205/4e49d113/attachment.htm>
More information about the MapServer-users
mailing list