I know how to make the visibility of an entire layer conditional on the zoom level.
Is there a way to do the same thing for specific features? I have a road data set, where each feature has a class
attribute that roughly corresponds to the "size" of a road (major highway, minor road, etc). I would like to configure things so that when zoomed out, only major roads are visible, with more detail showing as one zooms in on the map.
I guess I could split each class of roads out into a separate layer, but is there a way to do this that allows me to keep all the features in a single layer?