kopia lustrzana https://gitlab.com/gridtracker.org/gridtracker
Don animate on zoom or pan
rodzic
6086d35e23
commit
594adcf259
|
@ -5328,6 +5328,13 @@ function initMap()
|
|||
g_layerVectors.tz,
|
||||
g_layerVectors.radar
|
||||
],
|
||||
interactions: ol.interaction.defaults({
|
||||
dragPan: false,
|
||||
mouseWheelZoom: false
|
||||
}).extend([
|
||||
new ol.interaction.DragPan({ kinetic: false }),
|
||||
new ol.interaction.MouseWheelZoom({ duration: 0 })
|
||||
]),
|
||||
controls: g_mapControl,
|
||||
loadTilesWhileInteracting: false,
|
||||
loadTilesWhileAnimating: false,
|
||||
|
|
Ładowanie…
Reference in New Issue