Is there any way to combine 'BestPlacement' and 'AllowOverlapping'?
Example:
ts = new TextStyle("[lt_abbr] [WATTS]", new GeoFont("Arial", _fontSize),new GeoSolidBrush(GeoColor.StandardColors.Black));
ts.PointPlacement = PointPlacement.UpperRight;
ts.OverlappingRule = LabelOverlappingRule.AllowOverlapping;
ts.DuplicateRule = LabelDuplicateRule.UnlimitedDuplicateLabels;
ts.BestPlacement = true;
So, what I'd like is the following logic:
- If there's no label collision, print label in Upper Right
- If POSSIBLE, use best fit logic to avoid label overlap
- If impossible, print label anyway (preferrably in area of least overlap, but in default placement if needed)
What I'm seeing, instead, is that if I turn on the 'Allow Overlapping', the best placement is ignored even in a location where it would've worked had best placement been turned on. But if I turn OFF allow overlapping, some of my labels disappear.. I want ALL labels to show up, with as little overlapping as possible.
All labels are on the same overlay (MapPrinterOverlay) but on different ShapeFileFeatureLayers...
Any help/thoughts are appreciated.
Thanx!