[OpenLayers-Trac] [OpenLayers] #2987: Bing layer displays at incorrect zoom level with overlays

OpenLayers trac-20090302 at openlayers.org
Tue Dec 21 09:46:58 EST 2010


#2987: Bing layer displays at incorrect zoom level with overlays
----------------------+-----------------------------------------------------
 Reporter:  ahocevar  |       Owner:  euzuro      
     Type:  feature   |      Status:  new         
 Priority:  minor     |   Milestone:  2.11 Release
Component:  Layer     |     Version:  2.10        
 Keywords:            |       State:              
----------------------+-----------------------------------------------------
 Because the Bing layer may set its final resolutions array after it is
 added to the map and the map is rendered, there is a chance that, if it is
 a base layer, overlays won't align because they are still rendered at a
 different zoom level. The solution is to call {{{map.zoomTo}}} in the
 initLayer method, as soon as we have the final resolutions.

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


More information about the Trac mailing list