[Mapserver-users] question on linking
Dan Arnold
dan.arnold at noaa.gov
Wed Mar 19 11:02:39 PST 2003
This is a multi-part message in MIME format.
------=_NextPart_000_004B_01C2EE17.D2219570
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
Hello all-
Very new to MapServer (like 3 days) and have been searching the doc's,
faq's and have had no luck finding what I'm looking for.
I'm trying to create a map of a state that displays county outlines on
the map and for each county I'd like to be able to link to a different
page.
I don't want to pan, or zoom in/out.. just a simple link to another
page. For example if you click on "county_01" on my map it would send
you to "county_01.php" if you clicked on "county_02" you'd go to
"county_02.php" etc...
I can create the map with the county lines, but I don't know how to
"link" them to a separate page.
Can this be done? And if it can, anyone have any sample code I could
look at?
Any help would be appreciated!
--
Dan Arnold
Webmaster
National Weather Service
Central Region Headquarters
dan.arnold at noaa.gov
816.891.7734 x486
------=_NextPart_000_004B_01C2EE17.D2219570
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<TITLE>Message</TITLE>
<META content=3D"MSHTML 6.00.2800.1141" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D765352818-19032003>Hello=20
all-</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D765352818-19032003></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D765352818-19032003>Very =
new to=20
MapServer (like 3 days) and have been searching the doc's, faq's and =
have had no=20
luck finding what I'm looking for. </SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D765352818-19032003></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D765352818-19032003>I'm =
trying to create=20
a map of a state that displays county outlines on the map and for each =
county=20
I'd like to be able to link to a =
different page.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D765352818-19032003></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D765352818-19032003>I =
don't want to pan,=20
or zoom in/out.. just a simple link to another page. For example if you =
click on=20
"county_01" on my map it would send you to "county_01.php" if you =
clicked on=20
"county_02" you'd go to "county_02.php" etc...</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D765352818-19032003></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN =
class=3D765352818-19032003>I can create=20
the map with the county lines, but I don't know how to "link" them to a =
separate=20
page.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D765352818-19032003></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D765352818-19032003><SPAN=20
class=3D765352818-19032003>Can this be done? And if it can, anyone have =
any sample=20
code I could look at?</SPAN></SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D765352818-19032003><SPAN=20
class=3D765352818-19032003></SPAN></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D765352818-19032003><SPAN=20
class=3D765352818-19032003>Any help would be=20
appreciated!</SPAN></SPAN></FONT></DIV>
<P align=3Dleft><FONT face=3DArial size=3D2>--<BR>Dan =
Arnold<BR>Webmaster<BR>National=20
Weather Service<BR>Central Region Headquarters<BR><A=20
href=3D"mailto:dan.arnold at noaa.gov">dan.arnold at noaa.gov</A><BR>816.891.77=
34=20
x486</FONT></P>
<DIV> </DIV></BODY></HTML>
------=_NextPart_000_004B_01C2EE17.D2219570--
More information about the MapServer-users
mailing list