Reuse ol.TileRange object in forEachTileCoordParentTileRange

This commit is contained in:
Tom Payne
2013-03-24 13:46:23 +01:00
parent 3fbf7b8c20
commit 5771057ae1
3 changed files with 14 additions and 13 deletions

View File

@@ -86,7 +86,7 @@ describe('ol.source.XYZ', function() {
tileCoord,
function(z, tileRange) {
zs.push(z);
tileRanges.push(tileRange);
tileRanges.push(tileRange.clone());
return false;
});