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?
Solved! Go to Solution.
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.
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.
Hi @RussRoberts,
I'm running into a problem with labeling polygons. The labels appear perfectly in the centroid of the polygon. Works great if you see the full extent of the polygon. Where the problems begin is when you zoom in. The label no longer moves with the map extent. So now, if I'm not zoomed in to the centroid of the polygon, I do not see the label at all making it virtually pointless.
Is Esri looking to fix this in future releases?
Any information you may have to offer would be greatly appreciated.
Thank you
Yup this is something on the 4.x JSAPI roadmap to support and will be seen across all apps using that version of the API which would be Map Viewer, Dashboards, Experience Builder and Instant Apps for example.
Is there a timeline for the roadmap updates?
@RussRoberts any timeline for this update for polygon labels? My colleague and I are researching elaborate and time consuming work arounds, which we'd happily avoid if this enhancement is close. Thanks!
Hi @RussRoberts any update on the polygon labeling issue? I tried to get added to ENH-000130376 to track it, but support said it's already been implemented. With the retirement of the old API, we're moving all our apps to newer products, but my users are disappointed that the labeling is hindering usability.
dynamic "centroid" placement for polygons is still on our roadmap to have this supported in the JS Maps SDK this fall which would bring this to Map Viewer and other 4.x based JS Maps SDK apps like Experience Builder and Dashboards.
Hi @RussRoberts ,
Do you have an ETA for the AGOL fall update please? I know you probably won't be able to give a precise date, but an estimate would be appreciated.
Thanks,
Sarah 🙂
Looking like Novemberish.