s/getTileResolution/getTileCoordResolution/g

This commit is contained in:
Tom Payne
2012-07-08 12:29:23 +02:00
committed by Tom Payne
parent d30c30f01d
commit 391b5906bc
2 changed files with 2 additions and 1 deletions

View File

@@ -179,6 +179,7 @@ TileGrid
getTileCoordCenter(tileCoord) -> goog.math.Coordinate
getTileCoord(coordinate) -> TileCoord
getTileCoordExtent(tileCoord) -> ol.Extent
getTileCoordResolution(tileCoord) -> number
getZForResolution(resolution) -> number
forEachTileCoordChild(tileCoord, function(z, TileBounds))
forEachTileCoordParent(tileCoord, function(z, TileBounds))

View File

@@ -253,7 +253,7 @@ ol.TileGrid.prototype.getTileSize = function() {
* @param {ol.TileCoord} tileCoord Tile coordinate.
* @return {number} Tile resolution.
*/
ol.TileGrid.prototype.getTileResolution = function(tileCoord) {
ol.TileGrid.prototype.getTileCoordResolution = function(tileCoord) {
goog.asserts.assert(0 <= tileCoord.z && tileCoord.z < this.numResolutions_);
return this.resolutions_[tileCoord.z];
};