Add wrapX option to olx.source.OSMOptions
This commit is contained in:
@@ -4304,7 +4304,8 @@ olx.source.TileDebugOptions.prototype.tileGrid;
|
||||
* crossOrigin: (null|string|undefined),
|
||||
* maxZoom: (number|undefined),
|
||||
* tileLoadFunction: (ol.TileLoadFunctionType|undefined),
|
||||
* url: (string|undefined)}}
|
||||
* url: (string|undefined),
|
||||
* wrapX: (boolean|undefined)}}
|
||||
* @api
|
||||
*/
|
||||
olx.source.OSMOptions;
|
||||
@@ -4357,6 +4358,14 @@ olx.source.OSMOptions.prototype.tileLoadFunction;
|
||||
olx.source.OSMOptions.prototype.url;
|
||||
|
||||
|
||||
/**
|
||||
* Whether to wrap the world horizontally. Default is `true`.
|
||||
* @type {boolean|undefined}
|
||||
* @api
|
||||
*/
|
||||
olx.source.OSMOptions.prototype.wrapX;
|
||||
|
||||
|
||||
/**
|
||||
* @typedef {{attributions: (Array.<ol.Attribution>|undefined),
|
||||
* doc: (Document|undefined),
|
||||
|
||||
Reference in New Issue
Block a user