[OpenLayers-Trac] Re: [OpenLayers] #2822: Scale control: Implement methods activate/deactivate.

OpenLayers trac-20090302 at openlayers.org
Wed Sep 15 04:43:41 EDT 2010


#2822: Scale control: Implement methods activate/deactivate.
------------------------------+---------------------------------------------
  Reporter:  jorix            |       Owner:              
      Type:  feature          |      Status:  reopened    
  Priority:  minor            |   Milestone:  2.11 Release
 Component:  Control.Scale    |     Version:  2.10 RC2    
Resolution:                   |    Keywords:              
     State:  Needs More Work  |  
------------------------------+---------------------------------------------
Changes (by ahocevar):

  * state:  Review => Needs More Work


Comment:

 This {{{this.div == this.element}}} stuff is so ugly! Why can't you just
 add this.div to this.element on activate, and remove it from its
 this.element parent on deactivate? Also, since no events are attached to
 this.div, there is no need to perform any destroy action.

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


More information about the Trac mailing list