[OpenLayers-Trac] Re: [OpenLayers] #3025: Use restrictedMinZoom in Layer.Bing

OpenLayers trac-20090302 at openlayers.org
Sun Jan 23 17:53:21 EST 2011


#3025: Use restrictedMinZoom in Layer.Bing
----------------------+-----------------------------------------------------
 Reporter:  ahocevar  |       Owner:              
     Type:  feature   |      Status:  new         
 Priority:  minor     |   Milestone:  2.11 Release
Component:  general   |     Version:  SVN         
 Keywords:            |       State:  Review      
----------------------+-----------------------------------------------------
Changes (by ahocevar):

  * state:  => Review


Comment:

 Note that this patch also allows us to get rid of the hack we used to
 change the resolution in case initLayer needed to reconfigure the layer
 with a different maxResolution - we don't change the maxResolution any
 more:
 {{{
 // adjust zoom level to match the previous resolution - this triggers a
 // moveTo on all layers.
 resolution && this.map.zoomTo(this.getZoomForResolution(resolution));
 }}}
 With this patch applied, tests still pass in Safari5. Thanks for any
 review.

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


More information about the Trac mailing list