Replace the navigation control by two controls, namely DragPan and MouseWheelZoom. DragPan is the map default drag control. MouseWheelZoom is the map default mouse wheel control.
This commit is contained in:
@@ -2,7 +2,8 @@ goog.provide("ol");
|
||||
|
||||
goog.require('ol.base');
|
||||
goog.require('ol.bounds');
|
||||
goog.require('ol.control.Navigation');
|
||||
goog.require('ol.control.DragPan');
|
||||
goog.require('ol.control.MouseWheelZoom');
|
||||
goog.require('ol.control.Attribution');
|
||||
goog.require('ol.control.Zoom');
|
||||
goog.require('ol.handler.Drag');
|
||||
|
||||
Reference in New Issue
Block a user