[Tilecache] Non Lat Long Projection

Eric Lemoine eric.c2c at gmail.com
Sun Jul 29 09:21:10 EDT 2007


On 7/29/07, Stuart Eve <stuarteve at gmail.com> wrote:
> Thanks Eric - its not an overlay.

Ok.

> On another note I would like to try laying out a whole resolution array -
> instead of relying on setting Maxresolution in both - how do I calculate the
> different resolutions?

If you define scales defined for your map you can derive your
resolutions from these scales using the
OpenLayers.Util.getResolutionFromScale(). See
<http://dev.openlayers.org/docs/files/OpenLayers/Util-js.html#Util.getResolutionFromScale>

Hope that helps...

--
Eric



More information about the Tilecache mailing list