Merge pull request #10777 from ahocevar/geolocation-example

Keep the render loop running during simulation
This commit is contained in:
Andreas Hocevar
2020-03-10 16:11:14 +01:00
committed by GitHub

View File

@@ -147,6 +147,7 @@ function updateView() {
view.setCenter(getCenterWithHeading(c, -c[2], view.getResolution()));
view.setRotation(-c[2]);
marker.setPosition(c);
map.render();
}
}