I'm looking for a way to filter or style vector tiles based on fields included in vector tile package. I followed the steps outlined in Author a map for vector tile creation—ArcGIS Pro | ArcGIS Desktop to bring a field in vector tiles. But I don't see that field information shown up in the style root.json of the vtpk. How do I know if that field has been included in the vector tiles? Also how can I retrieve it in JS API?
Any pointers will be greatly appreciated!
George Bochenek #askgeorge has a cool sample showing this behavior.
You can then apply a filter to the style file. The data isn't in the style, it's in the cooked tiles, but you can style on it.
This is purely for styles though, not stuff like popups.