We are trying to use a WMS layer where the map layer changes at certain zoom levels. For example we have a single WMS layer from ArcMap that is configured to show layer GNC from scale 1:10,000,000 - 1:2,000,000 and show layer JNC from scale 1:2,000,000 - 1:1. The bounds/coverage of both layers are the same. We have the same problem if we use a GeoServer Layer Group with an SLD/Style to set the minzoom/maxzoom on the layers of the layer group.
As we zoom-in and zoom-out around the 1:2,000,000 scale where the maps are supposed to change, we often get left with artifacts of the “wrong” layer on the screen. We have been poking around ImageryLayer.prototype._createTileImagerySkeletons and lowering the “var errorRatio” seems to help but we haven’t been able to totally fix it. If we lower the errorRatio to 0.5, then most of the time we only see our problem is if we slowly zoom out from around 1:1,800,000 to 1:2,200,000. It seems to be requesting imageryLevels that jump around quite a bit even with slow zooming out (from 9 to 6 to 4 to 5).
Any ideas on where to look to resolve this issue? Thanks!!!