add an OSM layer constructor to the API

This commit is contained in:
Éric Lemoine
2012-06-21 08:46:23 +02:00
parent b91769f00b
commit 22bffd9d8b
4 changed files with 23 additions and 0 deletions

View 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);
});
});
});