From 12d21689c6f7403e9da036898d7a867c5ac8da51 Mon Sep 17 00:00:00 2001 From: mike-000 <49240900+mike-000@users.noreply.github.com> Date: Wed, 3 Jul 2019 17:36:07 +0100 Subject: [PATCH] Stop the default multiWorld constraint being applied on Custom Animation example For zoom: 1 to be reached the default extent constraint must be removed by adding multiWorld: true --- examples/feature-animation.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/feature-animation.js b/examples/feature-animation.js index bd15602f7a..27fcec3eed 100644 --- a/examples/feature-animation.js +++ b/examples/feature-animation.js @@ -21,7 +21,8 @@ const map = new Map({ target: 'map', view: new View({ center: [0, 0], - zoom: 1 + zoom: 1, + multiWorld: true }) });