[OpenLayers-Dev] Layer.js InitResolution omission?
Christopher Schmidt
crschmidt at metacarta.com
Fri Dec 7 09:51:02 EST 2007
On Fri, Dec 07, 2007 at 03:11:12PM +0100, Bart van den Eijnden (OSGIS) wrote:
> Hi list,
>
> in InitResolution there is a call to getResolutionFromScale:
>
> if (confProps.maxScale != null) {
> confProps.minResolution =
> OpenLayers.Util.getResolutionFromScale(confProps.maxScale);
>
> Should it not also pass in the confProps.units as the second argument like
> it does for minScale?
Yes. I believe this has been reported several times, but no one wrote
tests for the patch to fix it. I've gone ahead and grudgingly committed
the patch without tests.
http://trac.openlayers.org/ticket/958
http://trac.openlayers.org/ticket/1117
Regards,
--
Christopher Schmidt
MetaCarta
More information about the Dev
mailing list