[OpenLayers-Trac] [OpenLayers] #462: predefined scales seem to break the Layer.getZoomForExtent() method

OpenLayers trac at openlayers.org
Sun Jun 17 09:38:42 EDT 2007


#462: predefined scales seem to break the Layer.getZoomForExtent() method
----------------------+-----------------------------------------------------
  Reporter:  pgiraud  |       Owner:             
      Type:  feature  |      Status:  new        
  Priority:  minor    |   Milestone:  2.5 Release
 Component:  general  |     Version:             
Resolution:           |    Keywords:             
----------------------+-----------------------------------------------------
Changes (by crschmidt):

  * keywords:  review =>

Comment:

 Please provide a setup where this is broken. In general, we seek to find
 the zoom level which includes *all* of the extent: sometimes, this means
 we are farther out than we might be otherwise, but if someone draws a very
 tall box (say, around chile), you want to see all of chile, not just the
 width of it.

-- 
Ticket URL: <http://trac.openlayers.org/ticket/462#comment:2>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list