[OpenLayers-Trac] Re: [OpenLayers] #3306: preremovelayer event

OpenLayers trac-20090302 at openlayers.org
Fri May 20 06:23:36 EDT 2011


#3306: preremovelayer event
-------------------------+--------------------------------------------------
 Reporter:  mosesonline  |       Owner:              
     Type:  feature      |      Status:  new         
 Priority:  minor        |   Milestone:  2.12 Release
Component:  Map          |     Version:  SVN         
 Keywords:               |       State:              
-------------------------+--------------------------------------------------

Comment(by marcjansen):

 The patch
   * has a typo in the available events (it says 'removelayer' twice,
 should be 'preremovelayer').
   * the documentation also says "added" where it should say "removed"
   * the documentation for 'preremovelayer' should tell a user that
 returning false from a preremove listener would abort/cancel the removal
 of the layer
   * misses tests (most important)

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


More information about the Trac mailing list