From fe0f91cb29d232200a7eb1a89fe74eabd598c1da Mon Sep 17 00:00:00 2001 From: ahocevar Date: Mon, 9 Jul 2018 19:24:21 +0200 Subject: [PATCH] Add `renderMode` property to Heatmap layer --- src/ol/layer/Heatmap.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/ol/layer/Heatmap.js b/src/ol/layer/Heatmap.js index d245320d26..50b02c1633 100644 --- a/src/ol/layer/Heatmap.js +++ b/src/ol/layer/Heatmap.js @@ -33,6 +33,11 @@ import Style from '../style/Style.js'; * @property {string|function(module:ol/Feature):number} [weight='weight'] The feature * attribute to use for the weight or a function that returns a weight from a feature. Weight values * should range from 0 to 1 (and values outside will be clamped to that range). + * @property {module:ol/layer/VectorRenderType|string} [renderMode='vector'] Render mode for vector layers: + * * `'image'`: Vector layers are rendered as images. Great performance, but point symbols and + * texts are always rotated with the view and pixels are scaled during zoom animations. + * * `'vector'`: Vector layers are rendered as vectors. Most accurate rendering even during + * animations, but slower performance. * @property {module:ol/source/Vector} [source] Source. */