From d6409f55cf1ca84739cebbf878128f2d0fe83494 Mon Sep 17 00:00:00 2001 From: ahocevar Date: Mon, 23 Apr 2018 08:49:38 +0200 Subject: [PATCH] Update API docs for modified behavior. --- src/ol/control/MousePosition.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ol/control/MousePosition.js b/src/ol/control/MousePosition.js index d151a964bd..e46060789a 100644 --- a/src/ol/control/MousePosition.js +++ b/src/ol/control/MousePosition.js @@ -31,7 +31,9 @@ const COORDINATE_FORMAT = 'coordinateFormat'; * callback. * @property {Element|string} [target] Specify a target if you want the * control to be rendered outside of the map's viewport. - * @property {string} [undefinedHTML=''] Markup for undefined coordinates. + * @property {string} [undefinedHTML=''] Markup for undefined coordinates. If + * `undefined`, then the last pointer position is retained when the pointer + * moves outside the viewport. */