add an OSM layer constructor to the API
This commit is contained in:
12
test/spec/api/layer/osm.test.js
Normal file
12
test/spec/api/layer/osm.test.js
Normal file
@@ -0,0 +1,12 @@
|
||||
describe('ol.layer.osm', function() {
|
||||
|
||||
describe('create an OSM layer', function() {
|
||||
|
||||
it('returns an ol.layer.OSM instance', function() {
|
||||
var layer = ol.layer.osm();
|
||||
expect(layer).toBeA(ol.layer.OSM);
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
});
|
||||
Reference in New Issue
Block a user