select departement

sophie chaveroux sophie.chaveroux at AGRICULTURE.GOUV.FR
Tue Feb 15 05:50:01 EST 2005


Sorry but i have done a mistake because i have sent 2 subjects with the
same title!!!!
  nevertheless there are 2 differents subject first title "layer
extent" which is about dispaying several layer with different extent (i
just want to know if it is possible to dispay layers with an extent
different for each  and with only one mapfile)...
  and the second title "select a department" which deal with the
possibility of a user to choose a departement and to display this
departement....in the first case the user choose a layer and in a second
case the user choose a departement on the departement layer for
exemple...i hope i have been clear...
this is the DepartementSelected function:
  <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>



More information about the mapserver-users mailing list