Fix interaction initialization for OL map
It looks that missing brackets were causing problems and sometimes method zoomTo on this.map was throwing error.
This commit is contained in:
parent
57353530a8
commit
af2769e896
|
@ -397,7 +397,7 @@ dlfViewer.prototype.init = function(controlNames) {
|
|||
new ol.interaction.PinchZoom(),
|
||||
new ol.interaction.MouseWheelZoom(),
|
||||
new ol.interaction.KeyboardPan(),
|
||||
new ol.interaction.KeyboardZoom,
|
||||
new ol.interaction.KeyboardZoom(),
|
||||
new ol.interaction.DragRotateAndZoom()
|
||||
],
|
||||
// necessary for proper working of the keyboard events
|
||||
|
|
Loading…
Reference in New Issue