Select to view content in your preferred language

GraphicsLayer labels disappear on zoom-in/out

4769
4
05-17-2015 08:22 AM
AlexanderGleyzer
Deactivated User

I've been trying to use GraphicsLayer's Labeling property and have defined LabelClasses.

I need the labels to be constantly visible, regardless of their overlapping or of map scale.

Unfortunately, when I zoom out - some graphics' labels disappear and don't reappear even if I zoom back in.

I've used the following settings:

  LabelPosition = LabelPosition.FixedPositionWithOverlaps

  DuplicateLabels = DuplicateLabels.PreserveDuplicates

  LabelPlacement = LabelPlacement.PointCenterCenter

  LabelPriority = LabelPriority.Highest

to no avail.

I'm attaching 3 screenshots:

1) labels_good: all labels are displayed ok;

2) labels_bad1: some labels missing after zoom out;

3) labels_bad2: some labels are missing after zooming back in to the original scale of 1).

Please, assist.

Alexander Gleyzer.

Tags (2)
0 Kudos
4 Replies
MichaelBranscomb
Esri Frequent Contributor

Hi,

Please can you post your reproducer app?

Cheers

Mike

0 Kudos
AlexanderGleyzer
Deactivated User

Hi, Michael.

Attached is a C# project reproducing the problem.

When zooming out a little - some labels disappear.

Thanks,

Alexander.

0 Kudos
MichaelBranscomb
Esri Frequent Contributor

Received and investigating.

Cheers

Mike

0 Kudos
MichaelBranscomb
Esri Frequent Contributor

Hi,

Thanks for the reproducer app, it is exactly what I needed.

I have some good news - whilst I could reproduce the problem you are seeing with the released 10.2.5 product, I am unable to reproduce using the current dev build of the forthcoming 10.2.6 release. We have addressed an issue in this area which appears to resolve the issue you are seeing too.

We anticipate shipping the 10.2.6 release in early-mid summer 2015.

Cheers

Mike

0 Kudos