[OpenLayers-Trac] [OpenLayers] #1127: cannot set maxResolution as an option on layer creation, it is always overridden in initResolutions
OpenLayers
trac at openlayers.org
Sun Dec 2 14:43:00 EST 2007
#1127: cannot set maxResolution as an option on layer creation, it is always
overridden in initResolutions
---------------------------+------------------------------------------------
Reporter: johnwebbcole | Owner:
Type: bug | Status: new
Priority: major | Milestone:
Component: general | Version: 2.5
Resolution: | Keywords:
---------------------------+------------------------------------------------
Comment (by elemoine):
The attached patch doesn't seem correct to me. The patch sets the layer's
maxResolution property to confProps.maxResolution, for any case. If the
user hasen't specified maxResolution, the layer's maxResolution property
will therefore be garbage.
johnwebbcole, could you elaborate on the issue you're seeing? I myself see
nothing wrong with the current code. Would you set both the resolutions
array (or the scales array) et maxResolution?
--
Ticket URL: <http://trac.openlayers.org/ticket/1127#comment:1>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list