Rename _ol_geom_Point_ to Point
This commit is contained in:
@@ -3,7 +3,7 @@ import _ol_Feature_ from '../src/ol/Feature.js';
|
||||
import _ol_Map_ from '../src/ol/Map.js';
|
||||
import _ol_View_ from '../src/ol/View.js';
|
||||
import _ol_geom_LineString_ from '../src/ol/geom/LineString.js';
|
||||
import _ol_geom_Point_ from '../src/ol/geom/Point.js';
|
||||
import Point from '../src/ol/geom/Point.js';
|
||||
import _ol_geom_Polygon_ from '../src/ol/geom/Polygon.js';
|
||||
import _ol_interaction_ from '../src/ol/interaction.js';
|
||||
import _ol_interaction_Pointer_ from '../src/ol/interaction/Pointer.js';
|
||||
@@ -134,7 +134,7 @@ app.Drag.prototype.handleUpEvent = function() {
|
||||
};
|
||||
|
||||
|
||||
var pointFeature = new _ol_Feature_(new _ol_geom_Point_([0, 0]));
|
||||
var pointFeature = new _ol_Feature_(new Point([0, 0]));
|
||||
|
||||
var lineFeature = new _ol_Feature_(
|
||||
new _ol_geom_LineString_([[-1e7, 1e6], [-1e6, 3e6]]));
|
||||
|
||||
Reference in New Issue
Block a user