From 2e1e0dba546fae74ffb21e6e6888c537804911b5 Mon Sep 17 00:00:00 2001 From: mike-000 <49240900+mike-000@users.noreply.github.com> Date: Sun, 16 Feb 2020 11:11:37 +0000 Subject: [PATCH] document that views must use same projection --- src/ol/control/OverviewMap.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ol/control/OverviewMap.js b/src/ol/control/OverviewMap.js index 5a83915198..4ee1242726 100644 --- a/src/ol/control/OverviewMap.js +++ b/src/ol/control/OverviewMap.js @@ -60,7 +60,8 @@ class ControlledMap extends PluggableMap { * to be rendered outside of the map's viewport. * @property {string} [tipLabel='Overview map'] Text label to use for the button tip. * @property {import("../View.js").default} [view] Custom view for the overview map. If not provided, - * a default view with an EPSG:3857 projection will be used. + * a default view with an EPSG:3857 projection will be used. The main map and the overviewmap must use + * the same projection, so a view must be provided when the default projection is not used. */