Rename _ol_formnat_WKT_ to WKT

This commit is contained in:
Tim Schaub
2017-12-17 02:18:33 -07:00
parent c6650285f5
commit 9889370c08
5 changed files with 134 additions and 134 deletions
+3 -3
View File
@@ -1,12 +1,12 @@
import _ol_Feature_ from '../../../../src/ol/Feature.js';
import Point from '../../../../src/ol/geom/Point.js';
import _ol_format_WKT_ from '../../../../src/ol/format/WKT.js';
import WKT from '../../../../src/ol/format/WKT.js';
import {transform} from '../../../../src/ol/proj.js';
describe('ol.format.WKT', function() {
var format = new _ol_format_WKT_();
var format = new WKT();
describe('#readProjectionFromText', function() {
it('returns the default projection', function() {
@@ -779,7 +779,7 @@ describe('ol.format.WKT', function() {
});
it('GeometryCollection split / merged correctly', function() {
format = new _ol_format_WKT_({splitCollection: true});
format = new WKT({splitCollection: true});
var wkt = 'GEOMETRYCOLLECTION(POINT(4 6),LINESTRING(4 6,7 10))';
var features = format.readFeatures(wkt);
expect(features.length).to.eql(2);