Rename ol.TileCoord.fromString to createFromString

This commit is contained in:
Tom Payne
2012-07-25 17:43:08 +02:00
parent 7902803063
commit 8d936e7865
3 changed files with 28 additions and 28 deletions
+1 -1
View File
@@ -145,7 +145,7 @@ ol.dom.TileLayerRenderer.prototype.removeInvisibleTiles_ = function(
tileBounds, z) {
var key, tileCoord, prune, tile;
for (key in this.renderedTiles_) {
tileCoord = ol.TileCoord.fromString(key);
tileCoord = ol.TileCoord.createFromString(key);
prune = z !== tileCoord.z ||
tileCoord.x < tileBounds.minX ||
tileCoord.x > tileBounds.maxX ||