#196 closed defect (fixed)
Some polyline labels are inverted
Reported by: | chrisclaydon | Owned by: | chrisclaydon |
---|---|---|---|
Priority: | medium | Milestone: | 1.2 |
Component: | General | Version: | 1.2.0 |
Severity: | major | Keywords: | |
Cc: | External ID: | 935255 |
Description
When a polyline curves back on itself, some of its labels sometimes become inverted.
This can be fixed by examining the segments of the polyline that are adjacent to the label, and determining in which direction to follow those segments in order to maximize the length of the label that is rendered right-side-up.
Previously, all segments in the polyline were examined for each label, rather than just the ones adjacent to the label, leading to possible problems.
Note:
See TracTickets
for help on using tickets.
Fixed in 1.2.x by submission http://trac.osgeo.org/mapguide/changeset/1805
Fixed in trunk by submission http://trac.osgeo.org/mapguide/changeset/1806