How do you get a vector tile layer to show up in the legend? I don't have the option to "show in legend" like I do for other layers. I created my vector tile index, then package, then uploaded to ArcGIS Online. Am I missing something? Corresponding feature layer that has to be included in the upload in some way? I really don't even care about popups or being able to query.
At the moment, ArcGIS Online does not have a vector tile layer legend capability. We have several customers asking for this capability and we have an enhancement logged in our system:
[ENH-000099289: Please enhance ArcGIS Online to generate legends for vector tiles automatically similar to how raster tiles do.]
The enhancement is currently in an "Under Consideration" status. I'd recommend that you give us a call here in Support Services and request that a case be created on your behalf so that you can attach your account to this enhancement, thus adding support for the idea to be put to action. Provide support with the above enhancement number and they can assist with that request.
We look forward to hearing from you in Support!
Esri Support Services
Please add me to the list. My current workaround has been to create a legend using Adobe Photoshop to make a PNG or JPG of what the legend would look like and put that picture next to the webmap that is brought in to a website using an <iframe> tag. It gets the job done, but is not the cleanest, took me a while since I don't know Photoshop well, and I wasn't able to precisely match the symbology in the picture with the webmap since I don't have the exact same size of icons/symbols. See here: Project News – Prince George's County and District of Columbia Reliability and Reinforcement Project...
hello Esri, no caption or tooltip to tell users what they see, vector tile, even if it is very powerful, is unfortunately quite useless when you want to share a lot of data to non-specialists. keep up the effort, please!