Remove tile grid extent_ property

This is never used in ol3.
This commit is contained in:
Bruno Binet
2013-02-19 17:21:38 +01:00
parent a04774cd96
commit 0835fd6b0a

View File

@@ -42,13 +42,6 @@ ol.tilegrid.TileGrid = function(tileGridOptions) {
*/
this.numResolutions_ = this.resolutions_.length;
/**
* @private
* @type {ol.Extent}
*/
this.extent_ = goog.isDef(tileGridOptions.extent) ?
tileGridOptions.extent : null;
/**
* @private
* @type {ol.Coordinate}
@@ -98,14 +91,6 @@ ol.tilegrid.TileGrid.prototype.forEachTileCoordParentTileRange =
};
/**
* @return {ol.Extent} Extent.
*/
ol.tilegrid.TileGrid.prototype.getExtent = function() {
return this.extent_;
};
/**
* @param {number} z Z.
* @return {ol.Coordinate} Origin.