Rename _ol_geom_GeometryType_ to GeometryType
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
import {inherits} from '../index.js';
|
||||
import {createOrUpdateFromCoordinate, containsXY} from '../extent.js';
|
||||
import GeometryLayout from '../geom/GeometryLayout.js';
|
||||
import _ol_geom_GeometryType_ from '../geom/GeometryType.js';
|
||||
import GeometryType from '../geom/GeometryType.js';
|
||||
import _ol_geom_SimpleGeometry_ from '../geom/SimpleGeometry.js';
|
||||
import _ol_geom_flat_deflate_ from '../geom/flat/deflate.js';
|
||||
import _ol_math_ from '../math.js';
|
||||
@@ -85,7 +85,7 @@ Point.prototype.computeExtent = function(extent) {
|
||||
* @api
|
||||
*/
|
||||
Point.prototype.getType = function() {
|
||||
return _ol_geom_GeometryType_.POINT;
|
||||
return GeometryType.POINT;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user