Enable rotation around z-axis
This commit is contained in:
parent
9ea7b3290d
commit
419b58fe56
2 changed files with 3 additions and 2 deletions
|
@ -65,6 +65,7 @@ export function buildScene(container: HTMLElement, extent: Extent) {
|
|||
);
|
||||
|
||||
camera.position.set(center.x, center.y - 125000, extent.zmax + 100000);
|
||||
camera.up.set(0, 0, 1);
|
||||
camera.lookAt(center);
|
||||
|
||||
// Initialize the renderer
|
||||
|
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue