<div>I am using the following to define my map:</div>
<div>&nbsp;</div>
<div>options = {<br>&nbsp;&nbsp;&nbsp; projection: &quot;EPSG:900913&quot;,<br>&nbsp;&nbsp;&nbsp; units: &quot;m&quot;,<br>&nbsp;&nbsp;&nbsp; maxResolution: 156543.0339,<br>&nbsp;&nbsp;&nbsp; numZoomLevels: 18,<br>&nbsp;&nbsp;&nbsp; maxExtent: new OpenLayers.Bounds(-20037508, -20037508,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 20037508, 
20037508.34)<br>};</div>
<div><font size="2"></font>&nbsp;</div>
<div><font size="2">map = </font><font color="#0000ff" size="2">new</font><font size="2"> OpenLayers.Map(</font><font color="#800000" size="2">&#39;map&#39;</font><font size="2">,options);</font></div>
<div>
<p><font size="2">Then my layer:</font></p>
<p><font size="2">var sat = new OpenLayers.Layer.Google(<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;Google&quot;,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {&#39;sphericalMercator&#39;: true}<br>&nbsp;&nbsp;&nbsp; );</font></p>
<p><font size="2">What the sphericalMercator true does is run the </font></p>
<p>initMercatorParameters: function() {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // set up properties for Mercator - assume EPSG:900913<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; this.RESOLUTIONS = [];<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; var maxResolution = 156543.0339;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; for(var zoom=0; zoom&lt;=
this.MAX_ZOOM_LEVEL; ++zoom) {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; this.RESOLUTIONS[zoom] = maxResolution / Math.pow(2, zoom);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; this.units = &quot;m&quot;;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; this.projection = &quot;EPSG:900913&quot;;<br>&nbsp;&nbsp;&nbsp; },
</p>
<p>The maxResolution of 156543.0339 is based on (20037508.34 + 20037508) / 256.</p>
<p>I need a different Resolution but I still want the forward and inverse mercator functions to work.&nbsp; Where are all the different places to change the resolution?&nbsp; I need it based on a tile that is not 256 in size.&nbsp; I have tried changing this in initMercatorParameters, the map, but It still does not seem to play nice.
</p>
<p>Thanks,</p>
<p>Linda Rawson</p></div>