[OpenLayers-Trac] [OpenLayers] #1220: conflict between addlayer and loadstart event

OpenLayers trac at openlayers.org
Fri Feb 15 17:39:23 EST 2008


#1220: conflict between addlayer and loadstart event
------------------------------+---------------------------------------------
  Reporter:  bartvde          |       Owner:             
      Type:  bug              |      Status:  new        
  Priority:  minor            |   Milestone:  2.6 Release
 Component:  Map              |     Version:  2.5        
Resolution:                   |    Keywords:             
     State:  Needs More Work  |  
------------------------------+---------------------------------------------
Changes (by tschaub):

  * state:  Review => Needs More Work

Comment:

 Yeah, we need the event in the EVENT_TYPES array and it would be good to
 document it.  I also like Erik's suggestion of "beforelayeradd" - but
 since we already have "addlayer" I guess prepending that is more
 consistent.

 FWIW, I think the browser event naming scheme works pretty well:
 {object}{action}.  We can augment that to {prefix}{object}{action}.  I
 know this map stuff all goes against that, but for future stuff I think it
 makes sense to follow browser event naming convention.

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


More information about the Trac mailing list