layer extent

Gheysen Thibaut gheysen.t at SKYNET.BE
Tue Feb 15 05:10:33 EST 2005


Try :

 <head>
<script langage=\"javascript\">
function DepartementSelected()
{
if(document.forms[0].ViewRegion.selectedIndex !=0 &&
document.forms[0].ViewRegion.selectedIndex !=1)
document.forms[0].submit();
}
</head>

<body>
<select NAME=\"ViewRegion\" onChange=\"ProvinceSelected()\">
    <option>quick View</option>
    <option VALUE=\"370122 1700000 701056 2030000\">region du 47</option>
</select>

Best regards

Thibaut

Hello everybody!!
i want to create a javascript fonction to zoom on a selected department
but the fonction doesn't work and i don't know why??? somebody can help me?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20050215/a6bc2847/attachment.html


More information about the mapserver-users mailing list