[OpenLayers-Trac] [OpenLayers] #2832: Scale control: Sets as deprecated the optional parameter in constructor (thinking 3.0)

OpenLayers trac-20090302 at openlayers.org
Sun Sep 12 11:08:54 EDT 2010


#2832: Scale control: Sets as deprecated the optional parameter in constructor
(thinking 3.0)
---------------------------+------------------------------------------------
 Reporter:  jorix          |       Owner:              
     Type:  feature        |      Status:  new         
 Priority:  minor          |   Milestone:  2.11 Release
Component:  Control.Scale  |     Version:  2.10        
 Keywords:                 |       State:              
---------------------------+------------------------------------------------
 In the patch is proposed to overload the first parameter of constructor in
 order to have two constructors: one with "options" as single parameter and
 another, deprecated, with three parameters.

 The patch includes a specific test.

 The tests work well in: FF36, IE8, Chrome6 & Safari5.

-- 
Ticket URL: <http://trac.openlayers.org/ticket/2832>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list