On 18/09/2012 7:32 a.m., Gabriel Roldan wrote:
Does this happen also for the gwc generated demo page for the layer?
Hope not and in that case you should check the generated page code and make sure it matches your app's layer/map set up
By slowly adding bits from my application to the gwc demo, I have cracked what exactly is causing the problem. It is putting a maxExtent on the
layer.

Maxextent for the map is
 new OpenLayers.Bounds(-2.003750834E7,-2.003750834E7,2.003750834E7,2.003750834E7)
but a maxExtent for the layer is:
msex = new OpenLayers.Bounds(-20037508.34, -8399738, 20037508.34, 20037508.34);

Ie I am restricting the layer data display to be that north of 60S. When I do that, I get the cache images displaced from the where they be for each alternate zoom level (correct for one, offset for the next).

Notice: This email and any attachments are confidential. If received in error please destroy and immediately notify us. Do not copy or disclose the contents.

 

_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to