GML parsing with new extent structure

This commit is contained in:
Tim Schaub
2013-09-03 17:44:17 -06:00
parent 9226472380
commit 3ea6041714
4 changed files with 15 additions and 16 deletions

View File

@@ -204,7 +204,7 @@ describe('ol.parser.gml_v2', function() {
var url = 'spec/ol/parser/ogc/xml/gml_v2/box-coord.xml';
afterLoadXml(url, function(xml) {
var obj = parser.read(xml);
expect(obj.bounds).to.eql([1, 3, 2, 4]);
expect(obj.bounds).to.eql([[1, 2], [3, 4]]);
done();
});
});
@@ -212,7 +212,7 @@ describe('ol.parser.gml_v2', function() {
var url = 'spec/ol/parser/ogc/xml/gml_v2/box-coordinates.xml';
afterLoadXml(url, function(xml) {
var obj = parser.read(xml);
expect(obj.bounds).to.eql([1, 3, 2, 4]);
expect(obj.bounds).to.eql([[1, 2], [3, 4]]);
done();
});
});

View File

@@ -9,7 +9,7 @@ describe('ol.parser.gml_v3', function() {
var url = 'spec/ol/parser/ogc/xml/gml_v3/envelope.xml';
afterLoadXml(url, function(xml) {
var obj = parser.read(xml);
expect(obj.bounds).to.eql([1, 3, 2, 4]);
expect(obj.bounds).to.eql([[1, 2], [3, 4]]);
done();
});
});