From 746455a9b99397774dae206410dc0d5c0168a891 Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Mon, 18 Feb 2019 17:33:05 +0100 Subject: [PATCH] Move params list to the constructor function --- src/ol/render/Feature.js | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/src/ol/render/Feature.js b/src/ol/render/Feature.js index c26525bce4..4bbc9b7d52 100644 --- a/src/ol/render/Feature.js +++ b/src/ol/render/Feature.js @@ -22,15 +22,16 @@ const tmpTransform = createTransform(); * Lightweight, read-only, {@link module:ol/Feature~Feature} and {@link module:ol/geom/Geometry~Geometry} like * structure, optimized for vector tile rendering and styling. Geometry access * through the API is limited to getting the type and extent of the geometry. - * - * @param {GeometryType} type Geometry type. - * @param {Array} flatCoordinates Flat coordinates. These always need - * to be right-handed for polygons. - * @param {Array|Array>} ends Ends or Endss. - * @param {Object} properties Properties. - * @param {number|string|undefined} id Feature id. */ class RenderFeature { + /** + * @param {GeometryType} type Geometry type. + * @param {Array} flatCoordinates Flat coordinates. These always need + * to be right-handed for polygons. + * @param {Array|Array>} ends Ends or Endss. + * @param {Object} properties Properties. + * @param {number|string|undefined} id Feature id. + */ constructor(type, flatCoordinates, ends, properties, id) { /** * @private