Hi All,<br><br>Want to use Google V3 and decided to upgrade to OL 2.11...<br><br>This is map options;<br><br> var options =<br> {<br> projection: new OpenLayers.Projection("EPSG:900913"),<br> displayProjection: new OpenLayers.Projection("EPSG:4326"),<br>
units: "m",<br> maxResolution: 4891.9698093750003,<br> minResolution: 1.1943285667419434,<br> maxExtent: new OpenLayers.Bounds(-20037508, -20037508, 20037508, 20037508.34),<br> tileSize: new OpenLayers.Size(256,256),<br>
numZoomLevels: 15,<br> allOverlays: false<br> };<br><br>On Openlayers 2.7 this layer works fine;<br><br>myLayer = new OpenLayers.Layer.WMS('wmsTitle',<br> 'mapserverTilecacheUrl', {layers: 'wmsLayerName', format: 'image/png'},<br>
{'isBaseLayer': true, displayOutsideMaxExtent: false, buffer : 0}<br> );<br><br>But on Openlayers 2.10 and 2.11 says;<br><br>An error occurred: can't find resolution index for 42.196661. Available resolutions are: [156543.03390000001, 78271.516950000005, 39135.758475000002, 19567.879237500001, 9783.9396187500006, 4891.9698093750003, 2445.9849046875001, 1222.9924523437501, 611.49622617187504, 305.74811308593752, 152.87405654296876, 76.43702827148438, 38.21851413574219, 19.109257067871095, 9.5546285339355475, 4.7773142669677737, 2.3886571334838869, 1.1943285667419434, 0.59716428337097172, 0.29858214168548586]<br>
<br>Only works with resolution index: 76.43702827148438<br><br>What should I do now?<br><br>Thanks in Advance...<br><pre><br></pre>