[OpenLayers-Trac] [OpenLayers] #1134: zoomToMaxExtent should optionally zoom to map.restrictedExtent, if defined
OpenLayers
trac at openlayers.org
Tue Jul 29 14:13:56 EDT 2008
#1134: zoomToMaxExtent should optionally zoom to map.restrictedExtent, if defined
-----------------------+----------------------------------------------------
Reporter: jachym | Owner: euzuro
Type: bug | Status: new
Priority: critical | Milestone: 2.7 Release
Component: general | Version: 2.5
Resolution: | Keywords:
State: Review |
-----------------------+----------------------------------------------------
Changes (by sbenthall):
* owner: sbenthall => euzuro
* status: assigned => new
* state: Needs More Work => Review
Comment:
New patch for Map.js should:
- keep default getMaxExtent behavior the same
- change default behavior on zoomToMaxExtent when there is a
restrictedExtent set on the map.
- options on getMaxExtent allow it to return restricted extent if
requested.
- options on zoomToMaxExtent let you revert to old default behavior even
when restrictedExtent is set.
This patch passes tests. Waiting on review.
--
Ticket URL: <http://trac.openlayers.org/ticket/1134#comment:10>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list