From ac144d934f93caefe095a7376459dd9e604ddc95 Mon Sep 17 00:00:00 2001 From: Petr Sloup Date: Sat, 6 Dec 2014 14:19:56 +0100 Subject: [PATCH] Documentation blocks for the option members --- externs/olx.js | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/externs/olx.js b/externs/olx.js index f9606851f6..9d240642b5 100644 --- a/externs/olx.js +++ b/externs/olx.js @@ -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.|undefined), * crossOrigin: (null|string|undefined),