s/getTileResolution/getTileCoordResolution/g
This commit is contained in:
@@ -179,6 +179,7 @@ TileGrid
|
|||||||
getTileCoordCenter(tileCoord) -> goog.math.Coordinate
|
getTileCoordCenter(tileCoord) -> goog.math.Coordinate
|
||||||
getTileCoord(coordinate) -> TileCoord
|
getTileCoord(coordinate) -> TileCoord
|
||||||
getTileCoordExtent(tileCoord) -> ol.Extent
|
getTileCoordExtent(tileCoord) -> ol.Extent
|
||||||
|
getTileCoordResolution(tileCoord) -> number
|
||||||
getZForResolution(resolution) -> number
|
getZForResolution(resolution) -> number
|
||||||
forEachTileCoordChild(tileCoord, function(z, TileBounds))
|
forEachTileCoordChild(tileCoord, function(z, TileBounds))
|
||||||
forEachTileCoordParent(tileCoord, function(z, TileBounds))
|
forEachTileCoordParent(tileCoord, function(z, TileBounds))
|
||||||
|
|||||||
+1
-1
@@ -253,7 +253,7 @@ ol.TileGrid.prototype.getTileSize = function() {
|
|||||||
* @param {ol.TileCoord} tileCoord Tile coordinate.
|
* @param {ol.TileCoord} tileCoord Tile coordinate.
|
||||||
* @return {number} Tile resolution.
|
* @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_);
|
goog.asserts.assert(0 <= tileCoord.z && tileCoord.z < this.numResolutions_);
|
||||||
return this.resolutions_[tileCoord.z];
|
return this.resolutions_[tileCoord.z];
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user