Label expressions using the Arcade language in ArcGIS Online do not honor the number of decimal places configured in the attribute table.
上次发布: September 25, 2018ArcGIS Online
漏洞 ID 编号
BUG-000112669
已提交
March 23, 2018
上次修改时间
June 5, 2024
适用范围
ArcGIS Online
找到的版本
5.4
状态
Will Not Be Addressed
开发团队已考虑过该问题或请求,并决定不会解决该问题。 问题的“其他信息”部分可能包含进一步说明。
附加信息
Number formatting in ArcGIS Pro is not preserved on publishing, it is simply a display option in ArcGIS Pro. If users want to limit the number of decimal places used using Arcade, use the Round function to control decimal places (e.g. Round($feature.fieldname,2)).
解决办法
Publish the annotation layer or the web layer as a tile layer in order to bring in correct labels to ArcGIS Online.