<div dir="ltr"><div class="gmail_extra"><span style="font-family:arial,sans-serif;font-size:13px">Hi Stephen,</span><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">
ok, i will check on the projCode, it might be only the structure for holding that param. I've added "sphericalMercator: true" to the map options and to the layer options but apparently nothing changed. I've tried to pass it as a true value or as a "true" string. Here are the two objects:</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px"><div><font face="arial, sans-serif">The map: openlayers-map-cf0776af options are: {</font></div><div>
<div class="im"><div><font face="arial, sans-serif"> "projection": {</font></div><div><font face="arial, sans-serif"> "projCode": "EPSG:900913"</font></div><div><font face="arial, sans-serif"> },</font></div>
</div><div class="im"><div><font face="arial, sans-serif"> "displayProjection": {</font></div><div><font face="arial, sans-serif"> "projCode": "EPSG:4326"</font></div><div><font face="arial, sans-serif"> },</font></div>
</div><div class="im"><div><font face="arial, sans-serif"> "maxExtent": {</font></div><div><font face="arial, sans-serif"> "left": -20037508.34,</font></div><div><font face="arial, sans-serif"> "bottom": -20037508.34,</font></div>
<div><font face="arial, sans-serif"> "right": 20037508.34,</font></div><div><font face="arial, sans-serif"> "top": 20037508.34</font></div><div><font face="arial, sans-serif"> },</font></div>
<div><font face="arial, sans-serif"> "units": "m",</font></div></div></div><div><font face="arial, sans-serif"> "sphericalMercator": true,</font></div><div class="im"><div><font face="arial, sans-serif"> "maxResolution": "auto",</font></div>
<div><font face="arial, sans-serif"> "controls": [],</font></div><div><font face="arial, sans-serif"> "theme": "/sites/all/modules/openlayers/themes/default_dark/style.css"</font></div>
<div><font face="arial, sans-serif">}</font></div><div><font face="arial, sans-serif"><br></font></div></div><div class="im"><div><font face="arial, sans-serif">The layer is {</font></div><div><font face="arial, sans-serif"> "my_wms_layer": {</font></div>
<div><font face="arial, sans-serif"> "base_url": "<a href="http://gis.site.org:8080/geoserver/wms?service=WMS&version=1.1.0&request=GetMap&layers=MyMap:my_layer" target="_blank">http://gis.site.org:8080/geoserver/wms?service=WMS&version=1.1.0&request=GetMap&layers=MyMap:my_layer</a>",</font></div>
<div><font face="arial, sans-serif"> "params": {</font></div><div><font face="arial, sans-serif"> "isBaseLayer": 0,</font></div><div><font face="arial, sans-serif"> "buffer": 2,</font></div>
<div><font face="arial, sans-serif"> "ratio": 1.5,</font></div><div><font face="arial, sans-serif"> "singleTile": 0,</font></div></div><div><font face="arial, sans-serif"> "sphericalMercator": 1,</font></div>
<div><div><div></div></div><div><div class="im"><div><font face="arial, sans-serif"> "resolutions": [</font></div><div><font face="arial, sans-serif"> 156543.0339,</font></div><div><font face="arial, sans-serif"> 78271.51695,</font></div>
<div><font face="arial, sans-serif"> 39135.758475,</font></div><div><font face="arial, sans-serif"> 19567.8792375,</font></div><div><font face="arial, sans-serif"> 9783.93961875,</font></div>
<div><font face="arial, sans-serif"> 4891.969809375,</font></div><div><font face="arial, sans-serif"> 2445.9849046875,</font></div><div><font face="arial, sans-serif"> 1222.9924523438,</font></div>
<div><font face="arial, sans-serif"> 611.49622617188,</font></div><div><font face="arial, sans-serif"> 305.74811308594,</font></div><div><font face="arial, sans-serif"> 152.87405654297,</font></div>
<div><font face="arial, sans-serif"> 76.437028271484,</font></div><div><font face="arial, sans-serif"> 38.218514135742,</font></div><div><font face="arial, sans-serif"> 19.109257067871,</font></div>
<div><font face="arial, sans-serif"> 9.5546285339355,</font></div><div><font face="arial, sans-serif"> 4.7773142669678,</font></div><div><font face="arial, sans-serif"> 2.3886571334839,</font></div>
<div><font face="arial, sans-serif"> 1.1943285667419,</font></div><div><font face="arial, sans-serif"> 0.59716428337097</font></div><div><font face="arial, sans-serif"> ],</font></div>
<div><font face="arial, sans-serif"> "projection": {</font></div><div><font face="arial, sans-serif"> "projCode": "EPSG:900913"</font></div><div><font face="arial, sans-serif"> },</font></div>
</div><div class="im"><div><font face="arial, sans-serif"> "maxextent": [</font></div><div><font face="arial, sans-serif"> -20037508,</font></div><div><font face="arial, sans-serif"> -20037508,</font></div>
<div><font face="arial, sans-serif"> 20037508,</font></div><div><font face="arial, sans-serif"> 20037508</font></div><div><font face="arial, sans-serif"> ],</font></div><div><font face="arial, sans-serif"> "drupalID": "my_wms_layer",</font></div>
<div><font face="arial, sans-serif"> "units": "m",</font></div><div><font face="arial, sans-serif"> "maxExtent": {</font></div><div><font face="arial, sans-serif"> "left": -20037508.34,</font></div>
<div><font face="arial, sans-serif"> "bottom": -20037508.34,</font></div><div><font face="arial, sans-serif"> "right": 20037508.34,</font></div><div><font face="arial, sans-serif"> "top": 20037508.34</font></div>
<div><font face="arial, sans-serif"> }</font></div></div></div></div><div><div><div></div></div><div><div>...</div><div><br></div></div></div><div>I think i should look at why that bound box parameter is incorrect, please let me know if you have any suggestions.</div>
<div>Thank you again so much!</div><div><br></div><div>Alex</div></div></div></div>