laptop and a wrench

Bug

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

Last Published: February 21, 2019 ArcGIS Pro
Bug ID Number BUG-000119822
SubmittedFebruary 4, 2019
Last ModifiedApril 27, 2025
Applies toArcGIS Pro
Version found2.3
Operating SystemWindows OS
Operating System Version10.0 64 Bit
StatusKnown Limit

Additional Information

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.

Workaround

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.

Steps to Reproduce

Bug ID: BUG-000119822

Software:

  • ArcGIS Pro

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options