add an OSM layer constructor to the API
This commit is contained in:
9
src/api/layer/osm.js
Normal file
9
src/api/layer/osm.js
Normal file
@@ -0,0 +1,9 @@
|
||||
goog.provide('ol.layer.osm');
|
||||
|
||||
/**
|
||||
* @export
|
||||
* @return {ol.layer.OSM}
|
||||
*/
|
||||
ol.layer.osm = function() {
|
||||
return new ol.layer.OSM();
|
||||
};
|
||||
Reference in New Issue
Block a user