Add urls option to ol.source.KML
This commit is contained in:
1 parent
c1ceb60f50
commit
699cfb3e31
2 files changed
+3
-1
No files matched your search
@@ -567,6 +567,7 @@
|
||||
* @property {ol.proj.ProjectionLike} reprojectTo Re-project to.
|
||||
* @property {string|undefined} text Text.
|
||||
* @property {string|undefined} url URL.
|
||||
* @property {Array.<string>|undefined} urls URLs.
|
||||
*/
|
||||
|
||||
/**
|
||||
|
||||
@@ -24,7 +24,8 @@ ol.source.KML = function(opt_options) {
|
||||
projection: options.projection,
|
||||
reprojectTo: options.reprojectTo,
|
||||
text: options.text,
|
||||
url: options.url
|
||||
url: options.url,
|
||||
urls: options.urls
|
||||
});
|
||||
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user