Add wrapX option to TileJSON source
This commit is contained in:
@@ -4656,7 +4656,8 @@ olx.source.ServerVectorOptions.prototype.projection;
|
||||
/**
|
||||
* @typedef {{crossOrigin: (null|string|undefined),
|
||||
* tileLoadFunction: (ol.TileLoadFunctionType|undefined),
|
||||
* url: string}}
|
||||
* url: string,
|
||||
* wrapX: (boolean|undefined)}}
|
||||
* @api
|
||||
*/
|
||||
olx.source.TileJSONOptions;
|
||||
@@ -4686,6 +4687,14 @@ olx.source.TileJSONOptions.prototype.tileLoadFunction;
|
||||
olx.source.TileJSONOptions.prototype.url;
|
||||
|
||||
|
||||
/**
|
||||
* Whether to wrap the world horizontally. Default is `true`.
|
||||
* @type {boolean|undefined}
|
||||
* @api
|
||||
*/
|
||||
olx.source.TileJSONOptions.prototype.wrapX;
|
||||
|
||||
|
||||
/**
|
||||
* @typedef {{attributions: (Array.<ol.Attribution>|undefined),
|
||||
* params: Object.<string,*>,
|
||||
|
||||
Reference in New Issue
Block a user