Remove ol.TileGrid.getMaxResolution
This commit is contained in:
@@ -146,14 +146,6 @@ ol.TileGrid.prototype.getExtentTileBounds = function(z, extent) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @return {number} Maximum resolution.
|
|
||||||
*/
|
|
||||||
ol.TileGrid.prototype.getMaxResolution = function() {
|
|
||||||
return this.getResolutions()[0];
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param {number} z Z.
|
* @param {number} z Z.
|
||||||
* @return {goog.math.Coordinate} Origin.
|
* @return {goog.math.Coordinate} Origin.
|
||||||
|
|||||||
Reference in New Issue
Block a user