Rename _ol_geom_LineString_ to LineString
This commit is contained in:
@@ -10,7 +10,7 @@ import _ol_Feature_ from '../Feature.js';
|
||||
import _ol_format_Feature_ from '../format/Feature.js';
|
||||
import _ol_format_JSONFeature_ from '../format/JSONFeature.js';
|
||||
import _ol_geom_GeometryCollection_ from '../geom/GeometryCollection.js';
|
||||
import _ol_geom_LineString_ from '../geom/LineString.js';
|
||||
import LineString from '../geom/LineString.js';
|
||||
import _ol_geom_MultiLineString_ from '../geom/MultiLineString.js';
|
||||
import MultiPoint from '../geom/MultiPoint.js';
|
||||
import _ol_geom_MultiPolygon_ from '../geom/MultiPolygon.js';
|
||||
@@ -119,7 +119,7 @@ _ol_format_GeoJSON_.readPointGeometry_ = function(object) {
|
||||
* @return {ol.geom.LineString} LineString.
|
||||
*/
|
||||
_ol_format_GeoJSON_.readLineStringGeometry_ = function(object) {
|
||||
return new _ol_geom_LineString_(object.coordinates);
|
||||
return new LineString(object.coordinates);
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user