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
-3
View File
@@ -29,9 +29,6 @@ for (i = 0, ii = styles.length; i < ii; ++i) {
}
const map = new Map({
layers: layers,
// Improve user experience by loading tiles while dragging/zooming. Will make
// zooming choppy on mobile or slow devices.
loadTilesWhileInteracting: true,
target: 'map',
view: new View({
center: [-6655.5402445057125, 6709968.258934638],