From a4186fae3ca8aca385829aca61409b241af7b0ca Mon Sep 17 00:00:00 2001 From: Edward Nash Date: Mon, 27 Sep 2021 13:33:24 +0200 Subject: [PATCH] bugfix: Fix type of layers option in OverviewMap * The foundation Layer class is BaseLayer and not Layer --- src/ol/control/OverviewMap.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ol/control/OverviewMap.js b/src/ol/control/OverviewMap.js index 4de309c8e0..140c3afa5e 100644 --- a/src/ol/control/OverviewMap.js +++ b/src/ol/control/OverviewMap.js @@ -53,7 +53,7 @@ class ControlledMap extends PluggableMap { * @property {boolean} [collapsible=true] Whether the control can be collapsed or not. * @property {string|HTMLElement} [label='›'] Text label to use for the collapsed * overviewmap button. Instead of text, also an element (e.g. a `span` element) can be used. - * @property {Array|import("../Collection.js").default} [layers] + * @property {Array|import("../Collection.js").default} [layers] * Layers for the overview map. * @property {function(import("../MapEvent.js").default):void} [render] Function called when the control * should be re-rendered. This is called in a `requestAnimationFrame` callback.