New map Viewer and Line Labels

408
5
Jump to solution
12-13-2021 07:10 AM
Labels (2)
WardMitchell2
Occasional Contributor

Hello All,

I see that there have been some recent updates to the new make viewer. One of those being the labels associated with line work. The amount of labels per line has been greatly reduced (thankfully). The issue now appears that the labels do not move when you zoom in and out. In my case I am referring to road names . Roads tend to be long and have the label "sit" in one spot doesn't help the user know where they are at when zooming around in a map. I have only noticed it so far in the AGOL webmaps I have not tried the new line work labeling in a webmap application yet. I'm I missing something? 

0 Kudos
1 Solution

Accepted Solutions
RussellRoberts1
Esri Frequent Contributor

We have made some updates to line labeling in the map viewer.

- We have a setting on the label style panel for lines to enable/disable label repeats

- When disabled right now the label is in a fixed centroid position on the line.

- When label repeat is enabled there is a setting to set the interval distance to control the number of repeats

- Setting the overrun on labeling will allow smaller features to display labels that are larger.

 

RussellRoberts1_0-1639412065354.png

 

View solution in original post

5 Replies
RussellRoberts1
Esri Frequent Contributor

We have made some updates to line labeling in the map viewer.

- We have a setting on the label style panel for lines to enable/disable label repeats

- When disabled right now the label is in a fixed centroid position on the line.

- When label repeat is enabled there is a setting to set the interval distance to control the number of repeats

- Setting the overrun on labeling will allow smaller features to display labels that are larger.

 

RussellRoberts1_0-1639412065354.png

 

Stefan_Thorn
Occasional Contributor

Hi @RussellRoberts1 ,

Those are nice new updates but missing really basic possibilities which seems to be very obvious for us to support our work processes with online maps. Now workarounds must be used to achieve these.

Just a few in my opinion:

1. alignment  of labels (above, on, under ) line is not available anymore in new map viewer.

2. rotations of labels on line to get perpendicular labels --> a workaround:

  • Generate Transects Along Lines
  • join new feature class with line feature class and transfer necessary attribute information
  • publish transects line and apply simple labeling
    • overrun is helpful here because the transect lines can be short and labels will show when zoomed out.
  • update/changes in  line feature --> work around again

In ArcGIS Pro:

Stefan_Thorn_1-1639420996748.png

Stefan_Thorn_0-1639420103304.png

Basic in AGOL: 

Stefan_Thorn_2-1639421325346.png

After workaround:

Stefan_Thorn_3-1639421411861.png

 

3. start point (start, middle, end) of a label. this can help if you want to use multiple label classes and apply different style. In my workaround this would give the opportunity to show the X and O and align start and end. But now the labels will overlap.

4. Use of arcade/html tags like color font and font style. 

Stefan_Thorn_0-1639420103304.png

 

 

RussellRoberts1
Esri Frequent Contributor

1. Is planned for 2022

2. Is also planned to support horizontal or vertical label placement. This is not in the web map spec so it does not transfer from Pro to Web.

3. This one also planed in the later half of 2022

4. Is on our roadmap but not assigned a release just yet.

Mdeboer
New Contributor

1. Is planned for 2022 

Is this still the case or has it been postponed?

0 Kudos
RussellRoberts1
Esri Frequent Contributor

It's been postponed and planned for 2023 release.

0 Kudos