[OpenLayers-Trac] Re: [OpenLayers] #2346: have more consistent naming conventions for events

OpenLayers trac-20090302 at openlayers.org
Mon Oct 18 11:31:24 EDT 2010


#2346: have more consistent naming conventions for events
---------------------+------------------------------------------------------
 Reporter:  bartvde  |       Owner:  euzuro     
     Type:  task     |      Status:  new        
 Priority:  minor    |   Milestone:  3.0 Release
Component:  Events   |     Version:  2.8        
 Keywords:           |       State:             
---------------------+------------------------------------------------------

Comment(by adube):

 Here's the list of candidate changes :

 OpenLayers/Map.js :
  * addlayer -> layeradded
  * preaddlayer -> beforelayeradded
  * removelayer -> layerremoved
  * changelayer -> layerchanged
  * changebaselayer -> baselayerchanged

 OpenLayers/Control/SLDSelect.js :
  * selected -> filtersselected

 Requesting comments, please.

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


More information about the Trac mailing list