Move jsdoc constructor comments for controls

This commit is contained in:
Frederic Junod
2018-07-17 16:44:33 +02:00
parent e1e5e54d74
commit f140ff368d
10 changed files with 41 additions and 22 deletions
+5 -2
View File
@@ -60,11 +60,14 @@ const MIN_RATIO = 0.1;
/**
* Create a new control with a map acting as an overview map for an other
* defined map.
* @constructor
* @param {module:ol/control/OverviewMap~Options=} opt_options OverviewMap options.
*
* @api
*/
class OverviewMap extends Control {
/**
* @param {module:ol/control/OverviewMap~Options=} opt_options OverviewMap options.
*/
constructor(opt_options) {
const options = opt_options ? opt_options : {};