Zum Hauptinhalt gehen

Advanced Label Expression Disables Label Toggle?

Kommentare

2 Kommentare

  • Tyson Schoepflin

    The label toggle is also disabled by using simple concatiation in the label expression.  This is done without using the advanced label expression checkbox in arcmap.

    Example

    When using the following label expression "Can Toggle Labels" on the mapservice is "true".

     

    [HUC_4]

     

    When using the following "Can Toggle Labels" on the mapservice is "false".

     

    [HUC_NAME] + VbCrLf + "("+[HUC_4]+")"

    The labels from this example display fine, but the second one cannot be toggled.

     

     

    0
  • Permanently deleted user

    Hi Tyson,

    When you set an Advanced Label Expression on one of your layers, the Labeling Info section at the ArcGIS Server REST Endpoint will be null. I suspect this is also the case when using concatenation in the label expression. In Essentials we have been determining whether labels are present/can be toggled by whether there was labeling info or not. In the upcoming release of Essentials 4.0, we've changed this behavior to additionally look at the Has Labels property. If this is set to True, which should be the case using either Advanced Label Expressions or concatenation, the CanToggleLabels property in Essentials will be set to True.

    -Victoria

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.