From d1111bacf3917f5399d42a2453d1a03820a3ade6 Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Thu, 13 Mar 2014 15:38:42 +0100 Subject: [PATCH 1/2] Add missing options in olx.layer.HeatmapOptions --- src/objectliterals.jsdoc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/objectliterals.jsdoc b/src/objectliterals.jsdoc index 5a3586aab8..3466c7bb05 100644 --- a/src/objectliterals.jsdoc +++ b/src/objectliterals.jsdoc @@ -585,6 +585,9 @@ * @property {number|undefined} hue Hue. * @property {Array.|undefined} gradient The color gradient of the heatmap, * specified as an array of CSS color strings. Default is `['#00f', '#0ff', '#0f0', '#ff0', '#f00']`. + * @property {number|undefined} radius Radius size in pixels. Default is `8`. + * @property {number|undefined} blur Blur size in pixels. Default is `15`. + * @property {number|undefined} shadow Shadow size in pixels. Default is `250`. * @property {number|undefined} minResolution The minimum resolution * (inclusive) at which this layer will be visible. * @property {number|undefined} maxResolution The maximum resolution @@ -592,7 +595,6 @@ * @property {number|undefined} opacity Opacity. 0-1. Default is `1`. * @property {number|undefined} saturation Saturation. * @property {ol.source.Vector} source Source. - * @property {ol.style.Style|Array.|ol.feature.StyleFunction|undefined} style Layer style. * @property {boolean|undefined} visible Visibility. Default is `true` (visible). * @todo stability experimental */ From 9a4892bff3c05eab281bb9e8b8ac94e49242d600 Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Thu, 13 Mar 2014 15:39:46 +0100 Subject: [PATCH 2/2] Wrap long lines --- src/objectliterals.jsdoc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/objectliterals.jsdoc b/src/objectliterals.jsdoc index 3466c7bb05..dad2ac0920 100644 --- a/src/objectliterals.jsdoc +++ b/src/objectliterals.jsdoc @@ -8,8 +8,12 @@ /** * @typedef {Object} olx.DeviceOptions - * @property {boolean|undefined} loadTilesWhileAnimating When set to false, no tiles will be loaded while animating, which improves responsiveness on devices with slow memory. Default is `true`. - * @property {boolean|undefined} loadTilesWhileInteracting When set to false, no tiles will be loaded while interacting, which improves responsiveness on devices with slow memory. Default is `true`. + * @property {boolean|undefined} loadTilesWhileAnimating When set to false, + * no tiles will be loaded while animating, which improves responsiveness + * on devices with slow memory. Default is `true`. + * @property {boolean|undefined} loadTilesWhileInteracting When set to false, + * no tiles will be loaded while interacting, which improves responsiveness + * on devices with slow memory. Default is `true`. * @todo stability experimental */