Add urls option to ol.source.KML

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

View File

@@ -534,6 +534,7 @@
* Possible values are `barometric`, `gps`, and `none`. Default is `none`. * Possible values are `barometric`, `gps`, and `none`. Default is `none`.
* @property {string|undefined} text Text. * @property {string|undefined} text Text.
* @property {string|undefined} url URL. * @property {string|undefined} url URL.
* @property {Array.<string>|undefined} urls URLs.
*/ */
/** /**

View File

@@ -19,7 +19,8 @@ ol.source.IGC = function(opt_options) {
altitudeMode: options.altitudeMode altitudeMode: options.altitudeMode
}), }),
text: options.text, text: options.text,
url: options.url url: options.url,
urls: options.urls
}); });
}; };