From d3c2e40c84c21f5558d561a94165dbd30d1c1501 Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Wed, 27 Aug 2014 11:19:15 +0200 Subject: [PATCH 1/2] remove unused olx.source.OSMXMLOptions#defaultStyle property --- externs/olx.js | 9 --------- 1 file changed, 9 deletions(-) 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} From eaca8c16914abb7c24533315616a2ec369dadaa6 Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Wed, 27 Aug 2014 12:31:09 +0200 Subject: [PATCH 2/2] Pass options.urls property to ol.source.OSMXML parent class --- src/ol/source/osmxmlsource.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 }); };