Skip to content

Flicker-free map layer

... well, mostly.

When dragging the viewport, instead of reloading all tiles each time the top left one changes, shift rows and columns to minimize the number of tile changes.

If someone programatically centers the viewport in a tile that's completely unrelated to the currently visible ones, a complete reload is still necessary.

Edited by Georges Basile Stavracas Neto

Merge request reports