[Mapserver-users] select region

Grant, Ryan rgrant at nrcan.gc.ca
Mon Apr 21 16:56:48 EDT 2003


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C30848.86BE45B0
Content-Type: text/plain;
	charset="iso-8859-1"

We built similar functionality into one of our applicatons using a combo box
that stores mapext coordinates as the values of the options. Then, we built
an onChange event for the combo box, that would submit the mapserver form
using the mapext coordinates from the combo box. 
 
Example of option tags:
 
<OPTION value="-180 -90 180 90">World</OPTION>
<OPTION value="-174 84 -11 35">Canada</OPTION>
 
If you need any other help/clarification, just let me know..
 
Ryan

-----Original Message-----
From: Gautam Kumar [mailto:gautamleam at yahoo.com]
Sent: Monday, April 21, 2003 1:24 PM
To: mapserver-users at lists.gis.umn.edu
Subject: [Mapserver-users] select region


I needed to create a map where a list of regions could be selected and once
they are selected, the map would zoom into that region automatically
(similar to the canada atlas website where you can zoom into a certain city
or territory). I tried to figure out how this was done but I couldn't quite
understand. If anyone knows how to do this, please let me know. Any help is
appreciated. Thanks
-Gautam Kumar




  _____  

Do you Yahoo!?
The New  <http://us.rd.yahoo.com/search/mailsig/*http://search.yahoo.com>
Yahoo! Search - Faster. Easier. Bingo.


------_=_NextPart_001_01C30848.86BE45B0
Content-Type: text/html;
	charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<META content="MSHTML 6.00.2800.1141" name=GENERATOR></HEAD>
<BODY>
<DIV>
<DIV><SPAN class=545255120-21042003><FONT face=Arial color=#0000ff size=2>We 
built similar functionality into one of our applicatons using a combo box that 
stores mapext coordinates as the values of the options. Then, we built an 
onChange event for the combo box, that would submit the mapserver form using the 
mapext coordinates from the combo box. </FONT></SPAN></DIV>
<DIV><SPAN class=545255120-21042003><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=545255120-21042003><FONT face=Arial color=#0000ff 
size=2>Example of option tags:</FONT></SPAN></DIV>
<DIV><SPAN class=545255120-21042003><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=545255120-21042003><FONT face=Arial color=#0000ff 
size=2>&lt;OPTION value="-180 -90 180 90"&gt;World&lt;/OPTION&gt;<BR>&lt;OPTION 
value="-174 84 -11 35"&gt;Canada&lt;/OPTION&gt;</FONT></SPAN></DIV>
<DIV><SPAN class=545255120-21042003><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=545255120-21042003><SPAN class=788585520-21042003><FONT 
face=Arial color=#0000ff size=2>If you need any other help/clarification, just 
let me know..</FONT></SPAN></SPAN></DIV>
<DIV><SPAN class=545255120-21042003><SPAN class=788585520-21042003><FONT 
face=Arial color=#0000ff size=2></FONT></SPAN></SPAN>&nbsp;</DIV>
<DIV><SPAN class=545255120-21042003><SPAN class=788585520-21042003><FONT 
face=Arial color=#0000ff size=2>Ryan</FONT></SPAN></SPAN></DIV></DIV>
<BLOCKQUOTE>
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> Gautam Kumar 
  [mailto:gautamleam at yahoo.com]<BR><B>Sent:</B> Monday, April 21, 2003 1:24 
  PM<BR><B>To:</B> mapserver-users at lists.gis.umn.edu<BR><B>Subject:</B> 
  [Mapserver-users] select region<BR><BR></FONT></DIV>
  <DIV>I needed to create a map where a list of regions could be selected and 
  once they are selected, the map would zoom into that region automatically 
  (similar to the canada atlas website where you can zoom into a certain city or 
  territory). I tried to figure out how this was done but I couldn't quite 
  understand. If anyone knows how to do this, please let me know. Any help is 
  appreciated. Thanks</DIV>
  <DIV>-Gautam Kumar</DIV>
  <P><BR>
  <HR SIZE=1>
  Do you Yahoo!?<BR><A 
  href="http://us.rd.yahoo.com/search/mailsig/*http://search.yahoo.com">The New 
  Yahoo! Search</A> - Faster. Easier. Bingo.</BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C30848.86BE45B0--



More information about the mapserver-users mailing list