[mapguide][MG349][Modified] AJAX Viewer does not display multi-line labels

Walt Welton-Lair walt.welton-lair at autodesk.com
Tue Aug 8 19:19:09 EDT 2006


You can view the artifact detail at the following URL:

    https://mapguide.osgeo.org/servlets/Scarab/id/MG349

Type:
Defect

Artifact ID:
MG349 (AJAX Viewer does not display multi-line labels)

Modified by:
Walt Welton-Lair
waltweltonlair (walt.welton-lair at autodesk.com)

The following modifications were made to this artifact:
---------------------------------------------------------------------

-- Steps to Reproduce set to new value:
Old value:
Open a layer and edit the label to be a constant multi-line string, e.g. "Line 1\nLine 2".

The multi-line label displays correctly with the DWF Viewer but not with the AJAX Viewer.

New value:
Open a layer and edit the label to be a constant multi-line string, e.g. "Line 1\nLine 2".

The multi-line label displays correctly with the DWF Viewer but not with the AJAX Viewer.

In the case of DWF output, there is server-side code in DWFRenderer::ProcessMultilineText which splits the label up into multiple pieces.  We need similar code for the AJAX Viewer code path.



---------------------------------------------------------------------
This message was automatically generated by Project Tracker.








More information about the Mapguide_issues mailing list