Work with new ol.projection package

This commit is contained in:
Tim Schaub
2013-03-03 16:09:00 +01:00
parent 5a73529da5
commit d3c4869917
4 changed files with 6 additions and 6 deletions

View File

@@ -9,7 +9,7 @@ describe('ol.source.Vector', function() {
it('works', function() {
vectorSource = new ol.source.Vector({
projection: ol.Projection.getFromCode('EPSG:4326')
projection: ol.projection.getFromCode('EPSG:4326')
});
vectorSource.addFeatures([new ol.Feature()]);
expect(vectorSource.getFeatures().length).toEqual(1);
@@ -48,7 +48,7 @@ describe('ol.source.Vector', function() {
})
];
vectorSource = new ol.source.Vector({
projection: ol.Projection.getFromCode('EPSG:4326')
projection: ol.projection.getFromCode('EPSG:4326')
});
vectorSource.addFeatures(features);
});