From 706dd3c87c88e02512914de21c6d84b83a0095b1 Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Thu, 26 Mar 2020 10:30:46 +0100 Subject: [PATCH] Remove all inheritDoc tags from src/ol/control --- src/ol/control/Control.js | 2 +- src/ol/control/FullScreen.js | 5 ++++- src/ol/control/MousePosition.js | 5 ++++- src/ol/control/OverviewMap.js | 5 ++++- src/ol/control/ZoomSlider.js | 6 +++++- 5 files changed, 18 insertions(+), 5 deletions(-) diff --git a/src/ol/control/Control.js b/src/ol/control/Control.js index 2f03317507..1f54f28ce7 100644 --- a/src/ol/control/Control.js +++ b/src/ol/control/Control.js @@ -91,7 +91,7 @@ class Control extends BaseObject { } /** - * @inheritDoc + * Clean up. */ disposeInternal() { removeNode(this.element); diff --git a/src/ol/control/FullScreen.js b/src/ol/control/FullScreen.js index d3741fb8e6..d2f82a3268 100644 --- a/src/ol/control/FullScreen.js +++ b/src/ol/control/FullScreen.js @@ -213,7 +213,10 @@ class FullScreen extends Control { } /** - * @inheritDoc + * Remove the control from its current map and attach it to the new map. + * Subclasses may set up event handlers to get notified about changes to + * the map here. + * @param {import("../PluggableMap.js").default} map Map. * @api */ setMap(map) { diff --git a/src/ol/control/MousePosition.js b/src/ol/control/MousePosition.js index 3a2c017999..b55796638e 100644 --- a/src/ol/control/MousePosition.js +++ b/src/ol/control/MousePosition.js @@ -162,7 +162,10 @@ class MousePosition extends Control { } /** - * @inheritDoc + * Remove the control from its current map and attach it to the new map. + * Subclasses may set up event handlers to get notified about changes to + * the map here. + * @param {import("../PluggableMap.js").default} map Map. * @api */ setMap(map) { diff --git a/src/ol/control/OverviewMap.js b/src/ol/control/OverviewMap.js index a77f8ae698..a64b15979d 100644 --- a/src/ol/control/OverviewMap.js +++ b/src/ol/control/OverviewMap.js @@ -255,7 +255,10 @@ class OverviewMap extends Control { } /** - * @inheritDoc + * Remove the control from its current map and attach it to the new map. + * Subclasses may set up event handlers to get notified about changes to + * the map here. + * @param {import("../PluggableMap.js").default} map Map. * @api */ setMap(map) { diff --git a/src/ol/control/ZoomSlider.js b/src/ol/control/ZoomSlider.js index 58f2229d40..b65ec01808 100644 --- a/src/ol/control/ZoomSlider.js +++ b/src/ol/control/ZoomSlider.js @@ -148,7 +148,11 @@ class ZoomSlider extends Control { } /** - * @inheritDoc + * Remove the control from its current map and attach it to the new map. + * Subclasses may set up event handlers to get notified about changes to + * the map here. + * @param {import("../PluggableMap.js").default} map Map. + * @api */ setMap(map) { super.setMap(map);