Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rendering update continuously #1

Open
AnthonyGlt opened this issue Jun 15, 2023 · 0 comments
Open

Rendering update continuously #1

AnthonyGlt opened this issue Jun 15, 2023 · 0 comments
Assignees

Comments

@AnthonyGlt
Copy link
Owner

When moving or zooming using the mouse, the mainloop will update the scene then when everything is loaded, the scene wont be updated anymore (expected because no new changes).

But if we call :


view.controls.lookAtCoordinate({
                coord: new itowns.Coordinates('EPSG:4326', 6.09,49.55,0),
                range: 3000,
                time: 1500,})

or

view.controls.setRange(3000)

then the scene get constantly updated (to verify). The function
#step(view, timestamp)
of mainloop.js is constantly called.

It should behave the same as the mouse movement, getting called only when necessary

@AnthonyGlt AnthonyGlt self-assigned this Jun 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant