Merge pull request #7604 from fredj/ne_functions
Named exports from ol/functions
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
import {inherits} from '../index.js';
|
||||
import _ol_Object_ from '../Object.js';
|
||||
import {createEmpty, getHeight, returnOrUpdate} from '../extent.js';
|
||||
import _ol_functions_ from '../functions.js';
|
||||
import {FALSE} from '../functions.js';
|
||||
import _ol_geom_flat_transform_ from '../geom/flat/transform.js';
|
||||
import {get as getProjection, getTransform} from '../proj.js';
|
||||
import _ol_proj_Units_ from '../proj/Units.js';
|
||||
@@ -129,7 +129,7 @@ Geometry.prototype.computeExtent = function(extent) {};
|
||||
* @param {number} y Y.
|
||||
* @return {boolean} Contains (x, y).
|
||||
*/
|
||||
Geometry.prototype.containsXY = _ol_functions_.FALSE;
|
||||
Geometry.prototype.containsXY = FALSE;
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* @module ol/geom/SimpleGeometry
|
||||
*/
|
||||
import {inherits} from '../index.js';
|
||||
import _ol_functions_ from '../functions.js';
|
||||
import {FALSE} from '../functions.js';
|
||||
import {createOrUpdateFromFlatCoordinates, getCenter} from '../extent.js';
|
||||
import Geometry from '../geom/Geometry.js';
|
||||
import GeometryLayout from '../geom/GeometryLayout.js';
|
||||
@@ -84,7 +84,7 @@ SimpleGeometry.getStrideForLayout = function(layout) {
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
SimpleGeometry.prototype.containsXY = _ol_functions_.FALSE;
|
||||
SimpleGeometry.prototype.containsXY = FALSE;
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user