Introduce defaultDataProjection for formats

This commit is contained in:
tsauerwein
2014-08-18 14:28:43 +02:00
parent 1205d0fe1e
commit 539e4a23b9
17 changed files with 145 additions and 91 deletions

View File

@@ -47,7 +47,6 @@ describe('ol.format.IGC', function() {
it('does transform and read a feature', function() {
var feature = format.readFeature(igc, {
dataProjection: 'EPSG:4326',
featureProjection: 'EPSG:3857'
});
expect(feature).to.be.an(ol.Feature);
@@ -91,7 +90,6 @@ describe('ol.format.IGC', function() {
it('does transform and read features', function() {
var features = format.readFeatures(igc, {
dataProjection: 'EPSG:4326',
featureProjection: 'EPSG:3857'
});
expect(features.length).to.eql(1);