Rename _ol_formnat_WKT_ to WKT
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
|
||||
import _ol_Sphere_ from '../../../src/ol/Sphere.js';
|
||||
import _ol_format_WKT_ from '../../../src/ol/format/WKT.js';
|
||||
import WKT from '../../../src/ol/format/WKT.js';
|
||||
import GeometryCollection from '../../../src/ol/geom/GeometryCollection.js';
|
||||
import LineString from '../../../src/ol/geom/LineString.js';
|
||||
import MultiLineString from '../../../src/ol/geom/MultiLineString.js';
|
||||
@@ -95,7 +95,7 @@ describe('ol.Sphere', function() {
|
||||
before(function(done) {
|
||||
afterLoadText('spec/ol/format/wkt/illinois.wkt', function(wkt) {
|
||||
try {
|
||||
var format = new _ol_format_WKT_();
|
||||
var format = new WKT();
|
||||
geometry = format.readGeometry(wkt);
|
||||
} catch (e) {
|
||||
done(e);
|
||||
@@ -187,7 +187,7 @@ describe('ol.Sphere.getArea()', function() {
|
||||
before(function(done) {
|
||||
afterLoadText('spec/ol/format/wkt/illinois.wkt', function(wkt) {
|
||||
try {
|
||||
var format = new _ol_format_WKT_();
|
||||
var format = new WKT();
|
||||
geometry = format.readGeometry(wkt);
|
||||
} catch (e) {
|
||||
done(e);
|
||||
|
||||
Reference in New Issue
Block a user