[Mapserver-users] Adding custom text to a feature
Benjamin Wragg
bwragg at tpg.com.au
Sun Jul 20 22:29:37 PDT 2003
This is a multi-part message in MIME format.
------=_NextPart_000_0001_01C34F98.BA0D4140
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
Hi list,
I'm trying to figure out how to label a feature with a custom piece of
text. For example in the application we've built, a user can choose a
town, country or draw a point, line or polygon on the map. If a user
selects a country for example I can easily label the country with it's
name, but I want to label it with some custom text like, "Search
country", "Search point" or "Search feature". Is there a way to do this
with mapscript? I have a feeling I've read something about this on the
list but I can't find anything in the archives.
Thanks,
Benjamin
------=_NextPart_000_0001_01C34F98.BA0D4140
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.1106" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D328580605-21072003><FONT face=3DArial size=3D2>Hi=20
list,</FONT></SPAN></DIV>
<DIV><SPAN class=3D328580605-21072003><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D328580605-21072003><FONT face=3DArial size=3D2>I'm =
trying to figure=20
out how to label a feature with a custom piece of text. For example =
in the=20
application we've built, a user can choose a town, country or draw =
a point,=20
line or polygon on the map</FONT></SPAN><SPAN =
class=3D328580605-21072003><FONT=20
face=3DArial size=3D2>. If a user selects a country for example I can =
easily label=20
the country with it's name, but I want to label it with some custom text =
like,=20
"Search country", "Search point" or "Search feature". Is there a way to =
do this=20
with mapscript? I have a feeling I've read something about this on the =
list but=20
I can't find anything in the archives.</FONT></SPAN></DIV>
<DIV><SPAN class=3D328580605-21072003><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D328580605-21072003><FONT face=3DArial=20
size=3D2>Thanks,</FONT></SPAN></DIV>
<DIV><SPAN class=3D328580605-21072003><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D328580605-21072003><FONT face=3DArial=20
size=3D2>Benjamin</FONT></SPAN></DIV>
<DIV><SPAN class=3D328580605-21072003><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV></BODY></HTML>
------=_NextPart_000_0001_01C34F98.BA0D4140--
More information about the MapServer-users
mailing list