Select to view content in your preferred language

Vector Tile Labeling in a Web Scene / Scene Viewer

2707
13
Jump to solution
01-08-2019 03:51 PM
TylerWaring
Frequent Contributor

Greetings Everyone, 

I have a vector tile draped over ground elevation in a WebScene (Scene Viewer ). It looks great when I design it in the Vector Tile Style Editor (ArcGIS Vector Tile Style Editor (beta) ) . However, in the Web Scene the labels are so small. I can barely ever read the labels and I designed the vector tiles with the 'large label' option. Has anyone ever dealt with this before and solved it? Do you know what multiplier to use on all the labels in the WebScene? Any recommendations will be greatly appreciated. 

Thanks, 

Tyler  

0 Kudos
13 Replies
TylerWaring
Frequent Contributor

Thanks for the info Russell Roberts‌.  Initially I had the slider set at 'balanced' and switching to 'performance' actually did increase the font size in the web scene but not in my web application.  Per your instruction I set the optimization to 'quality' and the font size in the web scene did not increase at all compared to the 'balanced' setting. None of these setting have any effect on the font size in my web application. 

I see that in the ArcGIS Vector Tile Style Editor (beta)(where I created my vector tiles), there is a a layers button where you can go in and alter all of the label sizes. Is this the best way to do this? It would be really cool to be able to edit them directly in the JSON. Is there a way to extract the JSON, edit it and then load it back into ArcGIS Online? 

Is altering the the font size in the vector tile editor the best way to go or is there a quicker way? 


thanks for all the info, 

Tyler 

0 Kudos
TylerWaring
Frequent Contributor

That was it. I don't believe that the optimization settings have an effect on the font size. To change the font size I went back to the  ArcGIS Vector Tile Style Editor (beta) and edited my vector tile layer. In the style editor click the 'Edit Layer Styles' menu and hammer away. Lots of clicking but the outcome looks great. It would be awesome to be able to output the JSON file and edit it in a text editor. 

0 Kudos
RussRoberts
Esri Notable Contributor

When you have the Vector Tile Layer item under My Content you can go to the item and click download. This will download the style file which is just JSON. You can edit that JSON and go back to the item and click Update and choose the edited JSON file. Update vector tile layer style—ArcGIS Online Help | ArcGIS 

TylerWaring
Frequent Contributor

Thanks Russell Roberts‌, I will check this process this weekend and report back to you the results. Thank you for this information. 

Tyler 

0 Kudos