[OpenLayers-Trac] Re: [OpenLayers] #2983: layer should have "added" event

OpenLayers trac-20090302 at openlayers.org
Thu Jan 20 06:51:06 EST 2011


#2983: layer should have "added" event
---------------------+------------------------------------------------------
 Reporter:  tschaub  |       Owner:  euzuro         
     Type:  feature  |      Status:  new            
 Priority:  minor    |   Milestone:  2.11 Release   
Component:  Layer    |     Version:  2.10           
 Keywords:           |       State:  Needs More Work
---------------------+------------------------------------------------------
Changes (by ahocevar):

  * state:  Review => Needs More Work


Comment:

 Thanks a lot for the patch @mpriour. This is almost good go commit, I'd
 just prefer if the added event was triggered before calling the layer's
 afterAdd method. And it would be great if you could add a simple unit test
 which just shows that the new events are actually triggered. Another
 goodie would be to remove the added event from Layer.Bing, but I can also
 do that if you don't get to it.

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


More information about the Trac mailing list