On Mon, Oct 11, 2010 at 4:05 PM, Derek Watling <[email protected]> wrote:
>
> I have solved this myself. Changing the options to:
>
> { isBaseLayer: false, format: "image/png", serverResolutions:
> [1.1943285667419434, 0.5971642833709717, 0.29858214168548586], resolutions:
> [1.1943285667419434, 0.5971642833709717, 0.29858214168548586], buffer: 0 }
Alternatively you should be able do use:
{
minResolution: 0.29858214168548586,
maxResolution: 1.1943285667419434,
numZoomLevels: -1
}
numZoomLevels: -1 tells the layer to not attempt to calculate
resolutions, it should work without it as well.
Cheers,
--
Eric Lemoine
Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex
Tel : 00 33 4 79 44 44 96
Mail : [email protected]
http://www.camptocamp.com
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users