Rename _ol_geom_LineString_ to LineString
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import _ol_Feature_ from '../../../../src/ol/Feature.js';
|
||||
import _ol_geom_LineString_ from '../../../../src/ol/geom/LineString.js';
|
||||
import LineString from '../../../../src/ol/geom/LineString.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';
|
||||
@@ -51,7 +51,7 @@ describe('ol.source.Cluster', function() {
|
||||
source: new _ol_source_Vector_({
|
||||
features: [
|
||||
new _ol_Feature_(new Point([0, 0])),
|
||||
new _ol_Feature_(new _ol_geom_LineString_([[0, 0], [1, 1]])),
|
||||
new _ol_Feature_(new 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