Opened 18 years ago
Closed 13 years ago
#138 closed enhancement (wontfix)
Feature Labels of lines or polygons should have option to prevent being obscured.
Reported by: | jng | Owned by: | |
---|---|---|---|
Priority: | medium | Milestone: | |
Component: | General | Version: | |
Severity: | major | Keywords: | |
Cc: | External ID: |
Description
Currently feature labels of polygons (possibly lines too, not sure) will be obscured by any features directly above it in the draw order.
MapGuide should provide the ability for feature labels in polygons to prevent being obscured by features above it, just like point styles.
The current workaround (which is cumbersome) would be to make a separate layer of centroid points to store the feature labels, so you can specify whether they will be obscured or not.
Change History (3)
comment:1 by , 17 years ago
Version: | → 1.2.0 |
---|
comment:3 by , 13 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
This is both the limitation of the Layer Definition schema and label placement being at the mercy of the Renderer which is designed to only draw feature labels if it doesn't overlap with others.
The centroid point workaround is the only proper way address this problem
Hi, are you saying that you would like the option of "always drawing the label" (aka "Labels are fixed (not dynamic)"? So for example, if I had a polygon and a whole bunch of point and line features over top of it, if the polygon label could not be drawn without overlapping some of the features, it would still be drawn?
Then yes, the above capability exists for points, but does not exist for lines and polygons.