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
+2 -2
View File
@@ -18,7 +18,7 @@ import MultiPoint from '../geom/MultiPoint.js';
import MultiPolygon from '../geom/MultiPolygon.js';
import Point from '../geom/Point.js';
import Polygon from '../geom/Polygon.js';
import _ol_math_ from '../math.js';
import {toRadians} from '../math.js';
import {get as getProjection} from '../proj.js';
import _ol_style_Fill_ from '../style/Fill.js';
import _ol_style_Icon_ from '../style/Icon.js';
@@ -617,7 +617,7 @@ KML.IconStyleParser_ = function(node, objectStack) {
var heading = /** @type {number} */
(object['heading']);
if (heading !== undefined) {
rotation = _ol_math_.toRadians(heading);
rotation = toRadians(heading);
}
var scale = /** @type {number|undefined} */