Merge pull request #216 from bbinet/remove_tilegrid_extent

Remove tilegrid extent_ property
This commit is contained in:
Bruno Binet
2013-02-19 08:59:06 -08:00
-15
View File
@@ -42,13 +42,6 @@ ol.tilegrid.TileGrid = function(tileGridOptions) {
*/ */
this.numResolutions_ = this.resolutions_.length; this.numResolutions_ = this.resolutions_.length;
/**
* @private
* @type {ol.Extent}
*/
this.extent_ = goog.isDef(tileGridOptions.extent) ?
tileGridOptions.extent : null;
/** /**
* @private * @private
* @type {ol.Coordinate} * @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. * @param {number} z Z.
* @return {ol.Coordinate} Origin. * @return {ol.Coordinate} Origin.