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

9
src/api/layer/osm.js Normal file
View File

@@ -0,0 +1,9 @@
goog.provide('ol.layer.osm');
/**
* @export
* @return {ol.layer.OSM}
*/
ol.layer.osm = function() {
return new ol.layer.OSM();
};