Some style changes (linecap, linejoin) require re-encoding geometries. Currently, map.switchStyle reloads all tiles. It should detect if a style change requires re-encoding. Or maybe re-encoding can be avoided with a different approach to linecap rendering.
Also, the mru cache needs to be cleared if geometry encodings change.
Some style changes (linecap, linejoin) require re-encoding geometries. Currently, map.switchStyle reloads all tiles. It should detect if a style change requires re-encoding. Or maybe re-encoding can be avoided with a different approach to linecap rendering.
Also, the mru cache needs to be cleared if geometry encodings change.