[Trac] [OpenLayers] #228: limit panning to maxExtent

OpenLayers trac at openlayers.org
Mon Oct 16 17:19:53 EDT 2006


#228: limit panning to maxExtent
----------------------+-----------------------------------------------------
  Reporter:  tschaub  |       Owner:  euzuro     
      Type:  feature  |      Status:  assigned   
  Priority:  major    |   Milestone:  2.2 Release
 Component:  general  |     Version:             
Resolution:           |    Keywords:             
----------------------+-----------------------------------------------------
Comment (by euzuro):

 So originally I was also going to bring over the

 getResolutionFromZoom() modification

 which allows user to specify a zoom level.

 I would like to offer this functionality, but at least right now, we
 cannot put that fix in, because not all baselayers can support this
 functionality. baselayers whose resolutions arrays we calculate can of
 course do this and without problem, but the whole idea behind the
 FixedZoomLevels functionality in use by 3rd party baselayers like google,
 ve, etc is that we *dont*know* the resolutions array and rather try to
 work around it.

 if anyone has some comments on this, please chime in.

-- 
Ticket URL: <http://trac.openlayers.org/ticket/228>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list