Rename _ol_geom_Point_ to Point
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import _ol_Feature_ from '../../../../src/ol/Feature.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 {get as getProjection} from '../../../../src/ol/proj.js';
|
||||
import _ol_source_Cluster_ from '../../../../src/ol/source/Cluster.js';
|
||||
@@ -28,8 +28,8 @@ describe('ol.source.Cluster', function() {
|
||||
var source = new _ol_source_Cluster_({
|
||||
source: new _ol_source_Vector_({
|
||||
features: [
|
||||
new _ol_Feature_(new _ol_geom_Point_([0, 0])),
|
||||
new _ol_Feature_(new _ol_geom_Point_([0, 0]))
|
||||
new _ol_Feature_(new Point([0, 0])),
|
||||
new _ol_Feature_(new Point([0, 0]))
|
||||
]
|
||||
})
|
||||
});
|
||||
@@ -50,7 +50,7 @@ describe('ol.source.Cluster', function() {
|
||||
},
|
||||
source: new _ol_source_Vector_({
|
||||
features: [
|
||||
new _ol_Feature_(new _ol_geom_Point_([0, 0])),
|
||||
new _ol_Feature_(new Point([0, 0])),
|
||||
new _ol_Feature_(new _ol_geom_LineString_([[0, 0], [1, 1]])),
|
||||
new _ol_Feature_(new _ol_geom_Polygon_(
|
||||
[[[-1, -1], [-1, 1], [1, 1], [1, -1], [-1, -1]]]))
|
||||
|
||||
Reference in New Issue
Block a user