diff --git a/src/ol/Overlay.js b/src/ol/Overlay.js index 12245077c6..0bde6ec3b7 100644 --- a/src/ol/Overlay.js +++ b/src/ol/Overlay.js @@ -408,7 +408,7 @@ class Overlay extends BaseObject { /** * Pan the map so that the overlay is entirely visible in the current viewport * (if necessary). - * @param {PanIntoViewOptions|undefined} opt_panIntoViewOptions Options for the pan action + * @param {PanIntoViewOptions=} opt_panIntoViewOptions Options for the pan action * @api */ panIntoView(opt_panIntoViewOptions) {