Select to view content in your preferred language

Fix Labeling Limitations for Vector Tiles

13167
33
08-08-2016 10:12 AM
Status: Open
ChrisBardash
Deactivated User

Currently vbnewline or other similar label formatting options (Javascript or Python) for breaking labels over multiple lines is not supported in ArcGIS Online when creating vector tiles.  This functionality is very basic cartography and has been supported for many years in the desktop world.  At the very least, these sorts of shortfalls should have validation rules that let the user know this is not an option before publishing.

33 Comments
SamDeLore

Yup, struggling with these labelling issues still, publishing from ArcGIS Pro 3.3.1 & Enterprise 11.3.

Really frustrating, label classes are supported as per the documentation but no labels draw on the polygons

ChrisWesson

Hi @SarahFox1 ,
To access and edit the JSON, you need to first publish your vector tiles to ArcGIS Online.
Alternatively you can find it within the vtpk file itself if you unpackage it.

Either share an existing .vtpk file or from Pro use the "Share As Web Layer" option, choosing "Vector Tile" as the layer type.
In your AGOL portal (content), you will hopefully see a vector tile package and a hosted tile layer of the same name. Open the item page for the tile layer and choose to edit in Vector Tile Style Editor.

The icon to see and edit the JSON is the 4th one down on the left. Click update to apply changes.

More info can be found here: https://vtse.arcgis.com/documentation/editing-json/


@ChelseaRozek I offered some advice on the road labelling on another post you raised here:
https://community.esri.com/t5/arcgis-enterprise-portal-questions/vector-tiles-many-duplicate-labels-...



@MichaelMorisette The conflicting labels are currently best resolved for vector tiles by using the label buffer setting in Maplex which in vector tiles becomes the "padding" distance.

ChrisWesson

@SamSam if you're still struggling send us some examples and we'll take a look.