Merge pull request #2639 from fredj/osmxml-options
Fix ol.source.OSMXML options
This commit is contained in:
@@ -3931,7 +3931,6 @@ olx.source.OSMOptions.prototype.url;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @typedef {{attributions: (Array.<ol.Attribution>|undefined),
|
* @typedef {{attributions: (Array.<ol.Attribution>|undefined),
|
||||||
* defaultStyle: (Array.<ol.style.Style>|undefined),
|
|
||||||
* doc: (Document|undefined),
|
* doc: (Document|undefined),
|
||||||
* logo: (string|olx.LogoOptions|undefined),
|
* logo: (string|olx.LogoOptions|undefined),
|
||||||
* node: (Node|undefined),
|
* node: (Node|undefined),
|
||||||
@@ -3953,14 +3952,6 @@ olx.source.OSMXMLOptions;
|
|||||||
olx.source.OSMXMLOptions.prototype.attributions;
|
olx.source.OSMXMLOptions.prototype.attributions;
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Default style.
|
|
||||||
* @type {Array.<ol.style.Style>|undefined}
|
|
||||||
* @api
|
|
||||||
*/
|
|
||||||
olx.source.OSMXMLOptions.prototype.defaultStyle;
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Document.
|
* Document.
|
||||||
* @type {Document|undefined}
|
* @type {Document|undefined}
|
||||||
|
|||||||
@@ -28,7 +28,8 @@ ol.source.OSMXML = function(opt_options) {
|
|||||||
projection: options.projection,
|
projection: options.projection,
|
||||||
reprojectTo: options.reprojectTo,
|
reprojectTo: options.reprojectTo,
|
||||||
text: options.text,
|
text: options.text,
|
||||||
url: options.url
|
url: options.url,
|
||||||
|
urls: options.urls
|
||||||
});
|
});
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user