laptop and a wrench

漏洞

Shifted labels appear in the vector tile package output when double-line labels are used.

上次发布: February 21, 2019 ArcGIS Pro
漏洞 ID 编号 BUG-000119822
已提交February 4, 2019
上次修改时间April 27, 2025
适用范围ArcGIS Pro
找到的版本2.3
操作系统Windows OS
操作系统版本10.0 64 Bit
状态Known Limit

附加信息

This is a known limitation of vector tile creation. The spacing between the two lines of text is reduced by an expression, but vector tile creation does not honor changes to line spacing, it uses the default spacing. This is why the underscores of the second line of the label get shifted down in vector tiles. We have plans to add support for this in the future, but likely not in the near term. Refer to this page in the ArcGIS Pro help documentation: https://pro.arcgis.com/en/pro-app/latest/help/mapping/map-authoring/labeling-in-vector-tiles.htm for details about how labels are created in vector tiles.

解决办法

It is possible to manually edit the JSON style of the vector tiles to add the text-line-height layout property to the label layers displaying the issue. Setting the text-line-height value to 0.2 appears to have the same effect as the leading='-7' part of the label expression used to generate the labels, resulting in labels that look the same as in the input map.

重现步骤

漏洞 ID: BUG-000119822

软件:

  • ArcGIS Pro

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项