Changing extent structure back to single array: [minX, minY, maxX, maxY]
This means we'll have to have a new structure and new methods for 3D envelopes.
This commit is contained in:
@@ -189,7 +189,7 @@ describe('ol.geom2.LineStringCollection', function() {
|
||||
describe('getExtent', function() {
|
||||
|
||||
it('returns the expected extent', function() {
|
||||
expect(lsc.getExtent()).to.eql([[0, 1], [2, 3]]);
|
||||
expect(lsc.getExtent()).to.eql([0, 1, 2, 3]);
|
||||
});
|
||||
|
||||
});
|
||||
@@ -268,7 +268,7 @@ describe('ol.geom2.LineStringCollection', function() {
|
||||
describe('getExtent', function() {
|
||||
|
||||
it('returns the expected value', function() {
|
||||
expect(lsc.getExtent()).to.eql([[0, 1], [8, 9]]);
|
||||
expect(lsc.getExtent()).to.eql([0, 1, 8, 9]);
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user