[OpenLayers-Trac] Re: [OpenLayers] #3377: z-index of vector layer increases by 1 each time map is zoomed

OpenLayers trac-20090302 at openlayers.org
Mon Jun 20 18:44:53 EDT 2011


#3377: z-index of vector layer increases by 1 each time map is zoomed
--------------------------+-------------------------------------------------
 Reporter:  aguertin      |       Owner:  crschmidt   
     Type:  bug           |      Status:  new         
 Priority:  minor         |   Milestone:  2.11 Release
Component:  Layer.Vector  |     Version:  2.11 RC1    
 Keywords:                |       State:              
--------------------------+-------------------------------------------------

Comment(by ahocevar):

 The Bing layer fires a changelayer event on every moveend, to update the
 attribution. The Feature handler listens for this event, and moves the
 layer to the top of the stack. The attached patch fixes the issue, but
 this needs tests and probably a cleaner fix. Definitely something for 2.11
 though.

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


More information about the Trac mailing list