Rename _ol_geom_LineString_ to LineString
This commit is contained in:
@@ -5,7 +5,7 @@ import _ol_layer_Vector_ from '../src/ol/layer/Vector.js';
|
||||
import _ol_source_OSM_ from '../src/ol/source/OSM.js';
|
||||
import _ol_source_Vector_ from '../src/ol/source/Vector.js';
|
||||
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 _ol_style_Style_ from '../src/ol/style/Style.js';
|
||||
import _ol_style_Stroke_ from '../src/ol/style/Stroke.js';
|
||||
|
||||
@@ -20,7 +20,7 @@ var style = new _ol_style_Style_({
|
||||
})
|
||||
});
|
||||
|
||||
var feature = new _ol_Feature_(new _ol_geom_LineString_([[-4000000, 0], [4000000, 0]]));
|
||||
var feature = new _ol_Feature_(new LineString([[-4000000, 0], [4000000, 0]]));
|
||||
|
||||
var vector = new _ol_layer_Vector_({
|
||||
source: new _ol_source_Vector_({
|
||||
|
||||
Reference in New Issue
Block a user