[OpenLayers-Trac] Re: [OpenLayers] #3180: treat UI and non-UI controls differently

OpenLayers trac-20090302 at openlayers.org
Sun Feb 19 15:24:47 EST 2012


#3180: treat UI and non-UI controls differently
---------------------+------------------------------------------------------
 Reporter:  erilem   |       Owner:  elemoine    
     Type:  feature  |      Status:  new         
 Priority:  minor    |   Milestone:  2.12 Release
Component:  Control  |     Version:  2.10        
 Keywords:           |       State:              
---------------------+------------------------------------------------------

Comment(by erilem):

 I like this change, but I'm concerned with existing third-party controls
 that have "draw" functions that call Control.prototype.draw (which this
 patch removes). Maybe we could add something like this for backward
 compatibility:

 {{{
     draw: function() {
         this.div = this.createDiv();
     }
 }}}

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


More information about the Trac mailing list