Is there a way to show all of the labels for a particular layer without suppressing any of them? For instance, when I’m zoomed in closely, the labels look like this:
When I zoom out, I still need to show all three, but one of them is suppressed:
The only way I can show all of them is if I allow them to overlap, but then it looks like this:
Is there a way to make the labels all display without overlapping? Here are the current settings on the label style:
ICSnet.Objects.Map.ARGBTextStyle argbTextStyle =
new
Objects.Map.ARGBTextStyle();
argbTextStyle.OverlappingRule = LabelOverlappingRule.AllowOverlapping;
argbTextStyle.DuplicateRule = LabelDuplicateRule.UnlimitedDuplicateLabels;
argbTextStyle.BestPlacement =
true
;
argbTextStyle.SuppressPartialLabels =
false
;
The ARGBTextStyle inherits from the standard TextStyle. I’ve overridden it so I can change the background and text colors.