Rename _ol_geom_MultiPolygon_ to MultiPolygon
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import _ol_Feature_ from '../../../../src/ol/Feature.js';
|
||||
import _ol_geom_MultiPolygon_ from '../../../../src/ol/geom/MultiPolygon.js';
|
||||
import MultiPolygon from '../../../../src/ol/geom/MultiPolygon.js';
|
||||
import Polygon from '../../../../src/ol/geom/Polygon.js';
|
||||
import _ol_format_Feature_ from '../../../../src/ol/format/Feature.js';
|
||||
import {transform} from '../../../../src/ol/proj.js';
|
||||
@@ -157,7 +157,7 @@ describe('ol.format.TopoJSON', function() {
|
||||
var first = features[0];
|
||||
expect(first).to.be.a(_ol_Feature_);
|
||||
var firstGeom = first.getGeometry();
|
||||
expect(firstGeom).to.be.a(_ol_geom_MultiPolygon_);
|
||||
expect(firstGeom).to.be.a(MultiPolygon);
|
||||
expect(firstGeom.getExtent()).to.eql(
|
||||
[-180, -85.60903777459777, 180, 83.64513000000002]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user