Rename tileCoordCreateOrUpdate to createOrUpdateTileCoord
This commit is contained in:
@@ -8,7 +8,7 @@ import {isSorted, linearFindNearest} from '../array.js';
|
|||||||
import {createOrUpdate, getTopLeft} from '../extent.js';
|
import {createOrUpdate, getTopLeft} from '../extent.js';
|
||||||
import {clamp} from '../math.js';
|
import {clamp} from '../math.js';
|
||||||
import {toSize} from '../size.js';
|
import {toSize} from '../size.js';
|
||||||
import {createOrUpdate as tileCoordCreateOrUpdate} from '../tilecoord.js';
|
import {createOrUpdate as createOrUpdateTileCoord} from '../tilecoord.js';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @classdesc
|
* @classdesc
|
||||||
@@ -421,7 +421,7 @@ TileGrid.prototype.getTileCoordForXYAndResolution_ = function(
|
|||||||
tileCoordY = Math.floor(tileCoordY);
|
tileCoordY = Math.floor(tileCoordY);
|
||||||
}
|
}
|
||||||
|
|
||||||
return tileCoordCreateOrUpdate(z, tileCoordX, tileCoordY, opt_tileCoord);
|
return createOrUpdateTileCoord(z, tileCoordX, tileCoordY, opt_tileCoord);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
@@ -460,7 +460,7 @@ TileGrid.prototype.getTileCoordForXYAndZ_ = function(x, y, z, reverseIntersectio
|
|||||||
tileCoordY = Math.floor(tileCoordY);
|
tileCoordY = Math.floor(tileCoordY);
|
||||||
}
|
}
|
||||||
|
|
||||||
return tileCoordCreateOrUpdate(z, tileCoordX, tileCoordY, opt_tileCoord);
|
return createOrUpdateTileCoord(z, tileCoordX, tileCoordY, opt_tileCoord);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user