Keep the render loop running during simulation
This commit is contained in:
@@ -147,6 +147,7 @@ function updateView() {
|
|||||||
view.setCenter(getCenterWithHeading(c, -c[2], view.getResolution()));
|
view.setCenter(getCenterWithHeading(c, -c[2], view.getResolution()));
|
||||||
view.setRotation(-c[2]);
|
view.setRotation(-c[2]);
|
||||||
marker.setPosition(c);
|
marker.setPosition(c);
|
||||||
|
map.render();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user