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

@@ -3,7 +3,7 @@
*/
import {createCanvasContext2D} from './dom.js';
import {containsCoordinate, createEmpty, extend, getHeight, getTopLeft, getWidth} from './extent.js';
import _ol_math_ from './math.js';
import {solveLinearSystem} from './math.js';
import {getPointResolution, transform} from './proj.js';
var _ol_reproj_ = {};
@@ -181,7 +181,7 @@ _ol_reproj_.render = function(width, height, pixelRatio,
[0, 0, x1, y1, v1 - v0],
[0, 0, x2, y2, v2 - v0]
];
var affineCoefs = _ol_math_.solveLinearSystem(augmentedMatrix);
var affineCoefs = solveLinearSystem(augmentedMatrix);
if (!affineCoefs) {
return;
}