From 5424e3eae26d69bdbf1238dffa26f4dc3a6a77ae Mon Sep 17 00:00:00 2001 From: Andreas Hocevar Date: Sun, 8 Mar 2020 18:05:42 +0100 Subject: [PATCH] Keep the render loop running during simulation --- examples/geolocation-orientation.js | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/geolocation-orientation.js b/examples/geolocation-orientation.js index b9eae92681..e8934cf56c 100644 --- a/examples/geolocation-orientation.js +++ b/examples/geolocation-orientation.js @@ -147,6 +147,7 @@ function updateView() { view.setCenter(getCenterWithHeading(c, -c[2], view.getResolution())); view.setRotation(-c[2]); marker.setPosition(c); + map.render(); } }