The map resets the zoom window whenever anything (dataset, timestamp, palette) is changed. This probably means it is resetting the view on any change to wmsParams, which is what triggers loading an wms layer. I don't know if react-leaflet offers us any control over this behavior, but it's worth looking into.
The map resets the zoom window whenever anything (dataset, timestamp, palette) is changed. This probably means it is resetting the view on any change to
wmsParams, which is what triggers loading an wms layer. I don't know if react-leaflet offers us any control over this behavior, but it's worth looking into.