rename _ol_math_ imports

This commit is contained in:
Ron Young
2017-12-20 19:31:00 -06:00
parent 8ef8f59cd9
commit a11208d126
36 changed files with 180 additions and 183 deletions

View File

@@ -2,7 +2,7 @@
* @module ol/tileurlfunction
*/
import {assert} from './asserts.js';
import _ol_math_ from './math.js';
import {modulo} from './math.js';
import _ol_tilecoord_ from './tilecoord.js';
@@ -81,7 +81,7 @@ export function createFromTileUrlFunctions(tileUrlFunctions) {
return undefined;
} else {
var h = _ol_tilecoord_.hash(tileCoord);
var index = _ol_math_.modulo(h, tileUrlFunctions.length);
var index = modulo(h, tileUrlFunctions.length);
return tileUrlFunctions[index](tileCoord, pixelRatio, projection);
}
}