Hello,<br>I have OpenLayers 2.3 stable installed and have a standard google map displayed with some WMS overlays. What I have found is that when minZoomLevel is set the WMS overlays become disabled as I zoom in.<br><br>From reading other posts I take it this is a bug, can someone tell me has this been fixed in
2.4 or is there any other solution to this problem ?<br><br>I have tried changing the Google.js to have maxZoomLevel:20 and added the appropriate resolutions. This means I can zoom in a couple of extra zoom levels but as this happens the WMS overlays get disabled, this still doesnt solve the problem with having a minZoomLevel, if that is set the overlays get disabled earlier.
<br><br>my code is similar to the following:-<br><br> var options = {<br> controls: [],<br> numZoomLevels: 20,<br> minZoomLevel: 5
<br> };<br> OpenLayers.IMAGE_RELOAD_ATTEMPTS = 3;<br> map = new OpenLayers.Map('map', options);<br><br> var baseOptions = {isBaseLayer: true};
<br> googleMap = new OpenLayers.Layer.Google(\"GoogleMap\",<br> {type: G_NORMAL_MAP}<br> );<br>
googleMap.addOptions(baseOptions);<br><br> googleHyb = new OpenLayers.Layer.Google(\"GoogleHyb\",<br> {type: G_HYBRID_MAP}<br> );
<br> googleHyb.addOptions(baseOptions);<br><br> var layerOptions = {isBaseLayer: false, visibility: false};<br> wms_nz = new OpenLayers.Layer.WMS(\"WMS NZ Coast\",
<br> \"<a href="http://localhost:8080/geoserver/wms?service=wms\">http://localhost:8080/geoserver/wms?service=wms\</a>",<br> {layers: 'bimaris:nzcoast', format: 'image/png', transparent: true}
<br> );<br> wms_nz.addOptions(layerOptions);<br><br>