[mapguide-users] RE: Dynamic label size

Dave Wilson dave.wilson at autodesk.com
Tue Nov 2 17:27:16 EDT 2010


The label size is set in the layer definition and for the most part based on the font size if I am not mistaken. You could implement a +/- on the toolbar which updates the layer definition to change the size by some fixed increment. Not sure if this is the best way, but it is one way.

Regards,
Dave

From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Jonathan Rizzo
Sent: Tuesday, November 02, 2010 12:41 PM
To: mapguide-users at lists.osgeo.org
Subject: [mapguide-users] Dynamic label size

Hello,

I am getting back in to MapGuide development after an extended hiatus.  I am trying to make changes to an application that I developed a long time ago, and I'm not exactly sure how to accomplish what I am trying to do.  I would like to allow the user to manipulate the size of a layer's labels.  Ideally, I would like to put a + and - icon on the toolbar which resizes the labels up or down by some fixed amount.  Is this possible?  Can anybody point me to an existing sample or bit of code that that shows how this would be done?  Any assistance that you can offer would be greatly appreciated.  Thanks!

Jon
This electronic transmission may contain confidential, proprietary or privileged information.  No confidentiality or privilege is intended to be waived or lost by erroneous transmission of this message.  If you receive this message in error, please notify the sender immediately by return email and delete this message from your system.  Disclosure, use, distribution or copying of this message, any attachments thereto or their contents is strictly prohibited.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20101102/322bbe5a/attachment.html


More information about the mapguide-users mailing list