[OpenLayers-Dev] Layer.js InitResolution omission?

Bart van den Eijnden (OSGIS) bartvde at osgis.nl
Fri Dec 7 09:11:12 EST 2007


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?

Best regards,
Bart

--
Bart van den Eijnden
OSGIS, Open Source GIS
http://www.osgis.nl








More information about the Dev mailing list