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

OpenLayers trac-20090302 at openlayers.org
Mon Feb 20 14:21:50 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 jorix):

 @erilem: Done!

 See https://github.com/openlayers/openlayers/pull/233

 Small adjustments in respect the initial proposal:
  * The `MouseDefaults` and `MouseToolbar` controls are not changed since
 currently are in `deprecated.js`
  * The `control.outsideViewport = (control.div != null);` of
 `Map.addControlToMap` has been moved into `if(typeof control.draw ===
 'function') {`
  * In `Control.js`: `outsideViewport` property has been documented, and
 expanded documentation on `createDiv` method.
  * In `deprecated.js` has been added the `Control.draw` method.

 Tests of Map and all controls are working properly
 (`deprecated/Control/MouseToolbar.html` included)

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


More information about the Trac mailing list