[OpenLayers-Trac] [OpenLayers] #1321: maxScale value not always respected
OpenLayers
trac at openlayers.org
Wed Feb 20 18:54:49 EST 2008
#1321: maxScale value not always respected
-------------------------+--------------------------------------------------
Reporter: openlayers | Owner: tschaub
Type: bug | Status: assigned
Priority: major | Milestone: 2.6 Release
Component: Layer | Version: 2.5
Resolution: | Keywords: layer scale resolution patch
State: Commit |
-------------------------+--------------------------------------------------
Comment (by tschaub):
Yeah, seems sensible to me. If you only specify a maxResolution (or
minScale) you still get base 2. If you specify a maxResolution (or
minScale) and numZoomLevels, you still get base 2. If you specify a
maxResolution and a minResolution, we respect both and calculate
numZoomLevels and the scaling base. If you specify maxResolution,
minResolution, and numZoomLevels, we respect all three. (Prior to #1300
and this patch we didn't respect the lower bounds for the last two cases.)
--
Ticket URL: <http://trac.openlayers.org/ticket/1321#comment:7>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list