<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#6E558D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor=white lang=EN-GB link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span style='color:#6E558D'>Cheers, I was just beginning to
come to the same conclusion myself!!!<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#6E558D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#6E558D'>I’ll take a look at the
buffer code </span><span style='font-family:Wingdings;color:#6E558D'>J</span><span
style='color:#6E558D'><o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#6E558D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#6E558D'>Thanks again,<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#6E558D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#6E558D'>Bev<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#6E558D'><o:p> </o:p></span></p>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>
<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif";color:windowtext'>From:</span></b><span lang=EN-US
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>
mapguide-users-bounces@lists.osgeo.org
[mailto:mapguide-users-bounces@lists.osgeo.org] <b>On Behalf Of </b>Kenneth
Skovhede, GEOGRAF A/S<br>
<b>Sent:</b> 20 April 2009 14:49<br>
<b>To:</b> MapGuide Users Mail List<br>
<b>Subject:</b> Re: [mapguide-users] Redline Text<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>If your data has a spare column (or you can add one), simply
set the Feature Label to use this column, and<br>
you can update the column data to change the text.<br>
<br>
If you have no spare columns, you can add a new FeatureSource (or table in a
database) that has a text column.<br>
Then insert points that correspond to the desired location (pehaps the feature
centroid), and update text as you like.<br>
<br>
If you are writing this from scratch, take a look at the buffer code, as it
shows how to add a (temporary) feature source,<br>
and corresponding layer.<br>
<br>
<o:p></o:p></p>
<pre>Regards, Kenneth Skovhede, GEOGRAF A/S<o:p></o:p></pre>
<p class=MsoNormal><br>
<br>
Love, Bev (Capita Symonds) skrev: <o:p></o:p></p>
<p class=MsoNormal>Afternoon,<o:p></o:p></p>
<p class=MsoNormal> <o:p></o:p></p>
<p class=MsoNormal>I’m hoping someone will be able to help me out.<o:p></o:p></p>
<p class=MsoNormal> <o:p></o:p></p>
<p class=MsoNormal>I am trying to create some functionality which will allow
the user to add text to a layer, something similar to how a user can draw a
line on the map.<o:p></o:p></p>
<p class=MsoNormal> <o:p></o:p></p>
<p class=MsoNormal>Does anyone know if this is at all possible, and if so does
anyone know of any example code out there??<o:p></o:p></p>
<p class=MsoNormal> <o:p></o:p></p>
<p class=MsoNormal>Thanks,<o:p></o:p></p>
<p class=MsoNormal> <o:p></o:p></p>
<p class=MsoNormal>Bev<o:p></o:p></p>
<p class=MsoNormal> <o:p></o:p></p>
<p class=MsoNormal> <o:p></o:p></p>
<p class=MsoNormal> <o:p></o:p></p>
<p class=MsoNormal> <o:p></o:p></p>
<p class=MsoNormal> <o:p></o:p></p>
<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><br>
This email and any attachment are intended solely for the addressee, are
strictly confidential and may be legally privileged. If you are not the
intended recipient any reading, dissemination, copying or any other use or
reliance is prohibited. If you have received this email in error please notify
the sender immediately by email and then permanently delete the email.
Copyright reserved.<br>
<br>
All communications, incoming and outgoing, may be recorded and are monitored
for legitimate business purposes. <br>
<br>
The security and reliability of email transmission cannot be guaranteed. It is
the recipient’s responsibility to scan this e-mail and any attachment for
the presence of viruses. <br>
<br>
The Capita Group plc and its subsidiaries ("Capita") exclude all
liability for any loss or damage whatsoever arising or resulting from the
receipt, use or transmission of this email. <br>
<br>
Any views or opinions expressed in this email are those of the author only.<br>
<br>
<o:p></o:p></span></p>
<pre><o:p> </o:p></pre><pre style='text-align:center'>
<hr size=4 width="90%" align=center>
</pre><pre><o:p> </o:p></pre><pre>_______________________________________________<o:p></o:p></pre><pre>mapguide-users mailing list<o:p></o:p></pre><pre><a
href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><o:p></o:p></pre><pre><a
href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><o:p></o:p></pre><pre> <o:p></o:p></pre>
<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><br>
This email has been scanned for all viruses by the MessageLabs SkyScan service.<o:p></o:p></span></p>
</div>
<BR>
This email and any attachment are intended solely for the addressee, are strictly confidential and may be legally privileged. If you are not the intended recipient any reading, dissemination, copying or any other use or reliance is prohibited. If you have received this email in error please notify the sender immediately by email and then permanently delete the email. Copyright reserved.<BR>
<BR>
All communications, incoming and outgoing, may be recorded and are monitored for legitimate business purposes. <BR>
<BR>
The security and reliability of email transmission cannot be guaranteed. It is the recipient’s responsibility to scan this e-mail and any attachment for the presence of viruses. <BR>
<BR>
The Capita Group plc and its subsidiaries ("Capita") exclude all liability for any loss or damage whatsoever arising or resulting from the receipt, use or transmission of this email. <BR>
<BR>
Any views or opinions expressed in this email are those of the author only.<BR>
</body>
</html>