MapSuite Team,
With your assistance in the past I’ve implemented an override of TextStyle DrawCore. This allows the text of the actual label to be altered prior to drawing. This works fine in all cases except for polygons where said polygon is not entirely contained wholly within the current extent.
In my example, shown below, the labels (in upper left & right as Zone1 & Zone2) first appear at ZoomLevel=12 and then continue to appear through ZoomLevel=01. The labels will not appear from ZoomLevel=13 to ZoomLevel=20.
If I do not override the TextStyle the labels appear at all ZoomLevels. The second screen shot below shows this example. The label appears simply as the number “2” in the center of the map.
I’ve set a breakpoint in my code and can see the label being changed ( changing a “2” to “Zone2”) and the DrawCore occurring, but the label does not appear.
These are the LabelTextStyle Properties:
LabelOverlappingRule=AllowOverlapping
LabelDuplicateRule=NoDuplicateLabels
DrawingLevel=LabelLevel
GridSize=1
FittingPolygonFactor=10
LabelAllPolygonParts=false
FittingPolygon=true
FittingPolygonInScreen=true
Would you offer guidance on what the issue might be?
Thanks,
Dennis