Add urls option to ol.source.KML

This commit is contained in:
Tom Payne
2014-01-02 22:40:44 +01:00
parent c1ceb60f50
commit 699cfb3e31
2 changed files with 3 additions and 1 deletions

View File

@@ -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.
*/
/**

View File

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