Use inheritance.
This commit is contained in:
+1
-23
@@ -14,29 +14,7 @@ goog.require('ol.Projection');
|
|||||||
*/
|
*/
|
||||||
ol.Bounds = function(minX, minY, maxX, maxY, opt_projection) {
|
ol.Bounds = function(minX, minY, maxX, maxY, opt_projection) {
|
||||||
|
|
||||||
/**
|
goog.base(this, minX, minY, maxX, maxY);
|
||||||
* @protected
|
|
||||||
* @type {number}
|
|
||||||
*/
|
|
||||||
this.minX_ = minX;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @protected
|
|
||||||
* @type {number}
|
|
||||||
*/
|
|
||||||
this.minY_ = minY;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @protected
|
|
||||||
* @type {number}
|
|
||||||
*/
|
|
||||||
this.maxX_ = maxX;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @protected
|
|
||||||
* @type {number}
|
|
||||||
*/
|
|
||||||
this.maxY_ = maxY;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @protected
|
* @protected
|
||||||
|
|||||||
Reference in New Issue
Block a user