Always load tiles while animating and interacting

This commit is contained in:
ahocevar
2019-01-06 20:45:18 +01:00
parent 3e1fce0e22
commit 2e21b9f975
6 changed files with 12 additions and 44 deletions

View File

@@ -24,9 +24,6 @@ const map = new Map({
source: new OSM()
})
],
// Improve user experience by loading tiles while animating. Will make
// animations stutter on mobile or slow devices.
loadTilesWhileAnimating: true,
view: view
});