Skip to content

Rendering update continuously #1

@AnthonyGlt

Description

@AnthonyGlt

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions