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
_______________________________________________
Dev mailing list
[email protected]
http://openlayers.org/mailman/listinfo/dev

Reply via email to