diff --git a/externs/olx.js b/externs/olx.js index 8ffffbe3b6..c7c07fa847 100644 --- a/externs/olx.js +++ b/externs/olx.js @@ -3931,7 +3931,6 @@ olx.source.OSMOptions.prototype.url; /** * @typedef {{attributions: (Array.|undefined), - * defaultStyle: (Array.|undefined), * doc: (Document|undefined), * logo: (string|olx.LogoOptions|undefined), * node: (Node|undefined), @@ -3953,14 +3952,6 @@ olx.source.OSMXMLOptions; olx.source.OSMXMLOptions.prototype.attributions; -/** - * Default style. - * @type {Array.|undefined} - * @api - */ -olx.source.OSMXMLOptions.prototype.defaultStyle; - - /** * Document. * @type {Document|undefined} diff --git a/src/ol/source/osmxmlsource.js b/src/ol/source/osmxmlsource.js index dc6dff6c62..14107f006e 100644 --- a/src/ol/source/osmxmlsource.js +++ b/src/ol/source/osmxmlsource.js @@ -28,7 +28,8 @@ ol.source.OSMXML = function(opt_options) { projection: options.projection, reprojectTo: options.reprojectTo, text: options.text, - url: options.url + url: options.url, + urls: options.urls }); };