Refactor to support stricter new compiler

This commit is contained in:
Tom Payne
2012-09-24 22:42:41 +02:00
parent 2d7a21eaa0
commit c43e04ea77
3 changed files with 11 additions and 12 deletions

View File

@@ -51,9 +51,7 @@ ol.TileCoverageArea.prototype.intersectsExtentAndResolution =
/**
* @param {ol.Extent} extent Extent.
* @param {number} z Z.
* @return {boolean} Intersects.
* @inheritDoc
*/
ol.TileCoverageArea.prototype.intersectsExtentAndZ = function(extent, z) {
return this.minZ_ <= z && z <= this.maxZ_ && this.intersectsExtent(extent);