Move readProjectionFrom* functions to the base classes
This commit is contained in:
@@ -8,6 +8,18 @@ describe('ol.format.KML', function() {
|
||||
format = new ol.format.KML();
|
||||
});
|
||||
|
||||
describe('#readProjection', function() {
|
||||
it('returns the default projection from document', function() {
|
||||
var projection = format.readProjectionFromDocument();
|
||||
expect(projection).to.eql(ol.proj.get('EPSG:4326'));
|
||||
});
|
||||
|
||||
it('returns the default projection from node', function() {
|
||||
var projection = format.readProjectionFromNode();
|
||||
expect(projection).to.eql(ol.proj.get('EPSG:4326'));
|
||||
});
|
||||
});
|
||||
|
||||
describe('#readFeatures', function() {
|
||||
|
||||
describe('id', function() {
|
||||
|
||||
Reference in New Issue
Block a user