Use inheritance.

This commit is contained in:
Tom Payne
2012-06-20 19:16:39 +02:00
parent a36972fd35
commit d5f9f9e8a4

View File

@@ -14,29 +14,7 @@ goog.require('ol.Projection');
*/
ol.Bounds = function(minX, minY, maxX, maxY, opt_projection) {
/**
* @protected
* @type {number}
*/
this.minX_ = minX;
/**
* @protected
* @type {number}
*/
this.minY_ = minY;
/**
* @protected
* @type {number}
*/
this.maxX_ = maxX;
/**
* @protected
* @type {number}
*/
this.maxY_ = maxY;
goog.base(this, minX, minY, maxX, maxY);
/**
* @protected