[mapguide-users] Redline Text
Kenneth Skovhede, GEOGRAF A/S
ks at geograf.dk
Mon Apr 20 09:49:21 EDT 2009
If your data has a spare column (or you can add one), simply set the
Feature Label to use this column, and
you can update the column data to change the text.
If you have no spare columns, you can add a new FeatureSource (or table
in a database) that has a text column.
Then insert points that correspond to the desired location (pehaps the
feature centroid), and update text as you like.
If you are writing this from scratch, take a look at the buffer code, as
it shows how to add a (temporary) feature source,
and corresponding layer.
Regards, Kenneth Skovhede, GEOGRAF A/S
Love, Bev (Capita Symonds) skrev:
>
> Afternoon,
>
>
>
> I'm hoping someone will be able to help me out.
>
>
>
> 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.
>
>
>
> Does anyone know if this is at all possible, and if so does anyone
> know of any example code out there??
>
>
>
> Thanks,
>
>
>
> Bev
>
>
>
>
>
>
>
>
>
>
>
>
> 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.
>
> All communications, incoming and outgoing, may be recorded and are
> monitored for legitimate business purposes.
>
> 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.
>
> 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.
>
> Any views or opinions expressed in this email are those of the author
> only.
> ------------------------------------------------------------------------
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20090420/cf8762d6/attachment.html
More information about the mapguide-users
mailing list