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(); } }