Removed unnecessary base param from Scale control.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@924 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -21,9 +21,6 @@ OpenLayers.Control.Scale.prototype =
|
|||||||
/** @type DOMElement */
|
/** @type DOMElement */
|
||||||
element: null,
|
element: null,
|
||||||
|
|
||||||
/** @type String */
|
|
||||||
base: '',
|
|
||||||
|
|
||||||
/** @type String */
|
/** @type String */
|
||||||
units: 'dd',
|
units: 'dd',
|
||||||
|
|
||||||
@@ -36,10 +33,9 @@ OpenLayers.Control.Scale.prototype =
|
|||||||
* @param {DOMElement} element
|
* @param {DOMElement} element
|
||||||
* @param {String} base
|
* @param {String} base
|
||||||
*/
|
*/
|
||||||
initialize: function(element, base, units) {
|
initialize: function(element, units) {
|
||||||
OpenLayers.Control.prototype.initialize.apply(this, arguments);
|
OpenLayers.Control.prototype.initialize.apply(this, arguments);
|
||||||
this.element = element;
|
this.element = element;
|
||||||
if (base) this.base = base;
|
|
||||||
if (units) this.units = units;
|
if (units) this.units = units;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user