Fix typo in tilegrid/wmts

This commit is contained in:
Peter Robins
2016-08-12 16:25:01 +01:00
committed by GitHub
parent 7b62f13eb6
commit de910916e6

View File

@@ -48,7 +48,7 @@ ol.inherits(ol.tilegrid.WMTS, ol.tilegrid.TileGrid);
*/ */
ol.tilegrid.WMTS.prototype.getMatrixId = function(z) { ol.tilegrid.WMTS.prototype.getMatrixId = function(z) {
goog.DEBUG && console.assert(0 <= z && z < this.matrixIds_.length, goog.DEBUG && console.assert(0 <= z && z < this.matrixIds_.length,
'attempted to retrive matrixId for illegal z (%s)', z); 'attempted to retrieve matrixId for illegal z (%s)', z);
return this.matrixIds_[z]; return this.matrixIds_[z];
}; };