Documentation blocks for the option members

This commit is contained in:
Petr Sloup
2014-12-06 14:19:56 +01:00
parent 250a1e4da3
commit ac144d934f

View File

@@ -3542,13 +3542,30 @@ olx.source.GPXOptions.prototype.urls;
/**
* @typedef {{url: string,
* preemptive: (boolean|undefined)}}
* @typedef {{preemptive: (boolean|undefined),
* url: string}}
* @api
*/
olx.source.TileUTFGridOptions;
/**
* If true, the TileUTFGrid source loads the tiles based on their "visibility".
* This can be used to improve the speed of response, but increases traffic.
* Default is `false`.
* @type {boolean|undefined}
* @api
*/
olx.source.TileUTFGridOptions.prototype.preemptive;
/**
* @type {string}
* @api
*/
olx.source.TileUTFGridOptions.prototype.url;
/**
* @typedef {{attributions: (Array.<ol.Attribution>|undefined),
* crossOrigin: (null|string|undefined),