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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.