[fusion-trac] #113: Can't zoom out beyond initial map view
Fusion
trac_fusion at osgeo.org
Thu Sep 25 21:37:48 EDT 2008
#113: Can't zoom out beyond initial map view
-----------------------+----------------------------------------------------
Reporter: andrewd | Owner: pagameba
Type: defect | Status: new
Priority: P2 | Milestone: 2.0
Component: Core | Version: SVN
Severity: Critical | Resolution:
Keywords: | External_id:
State: Analysing | Browser: All
Os: All |
-----------------------+----------------------------------------------------
Changes (by pagameba):
* status: reopened => new
* owner: madair => pagameba
Comment:
I did a bit more thinking on this and some research in the OpenLayers code
base. I'm still not exactly sure but what happens if we set the
following:
* on a layer:
* maxExtent: null
* alwaysInRange: true
* displayOutsideMaxExtent: true
* on a map:
* fractionalZoom: true
I think then the maxResolution will be ignored and we don't really need to
know what it is.
The alwaysInRange property seems to be the key to supporting this, but it
is only in OpenLayers 2.7 so we definitely can't do this in Fusion 1.1.
We also need to establish a way to determine how to establish max extent
in the application definition (could be another extension) - it wouldn't
be available directly through studio but it could be set manually.
--
Ticket URL: <http://trac.osgeo.org/fusion/ticket/113#comment:16>
Fusion <http://trac.osgeo.org/fusion>
Fusion is a web-mapping application development framework for MapServer and MapGuide OS.
More information about the fusion-trac
mailing list