English

Problem: Labels fail to rotate when using Image MapServices

Description

I set up labels to be rotated using ArcIMS Author. When I view the map as a Feature MapService, the labels rotate as expected. Why do the labels fail to rotate when using Image MapServices?

Cause

In ArcIMS Author, the attribute labelpriorities is always added when using
SIMPLELABELRENDERER. The rotatation values are saved using the rotationalanagles attribute. Labelpriorities always take precedence over rotationalangles.

Solution or Workaround

  1. If you find that your labels are not rotating as expected,
    remove the labelpriorities attribute if it is present. Alternatively, you
    can set all the labelpriorities to "0".

    Code:
    <SIMPLELABELRENDERER field="NAME" rotationalangles="45,30" >

    or

    Code:
    <SIMPLELABELRENDERER field="NAME" labelpriorities="0,0,0,0,0,0,0,0"
    rotationalangles="45,30" >