[OpenLayers-Trac] Re: [OpenLayers] #3136: deal with changing max
extents for grid layers
OpenLayers
trac-20090302 at openlayers.org
Mon Feb 28 10:08:16 EST 2011
#3136: deal with changing max extents for grid layers
------------------------+---------------------------------------------------
Reporter: bartvde | Owner: elemoine
Type: feature | Status: new
Priority: minor | Milestone: 2.11 Release
Component: Layer.Grid | Version: 2.10
Keywords: | State: Needs Discussion
------------------------+---------------------------------------------------
Comment(by bartvde):
Or maybe a bit more clean but similar, in the function moveTo in
!OpenLayers.Layer.Grid add:
{{{
if (zoomChanged) {
this.maxExtent = this.getMaxExtent();
}
}}}
--
Ticket URL: <http://trac.openlayers.org/ticket/3136#comment:8>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list