Named export for ol/interaction
This commit is contained in:
@@ -5,7 +5,7 @@ import {inherits} from './index.js';
|
||||
import _ol_PluggableMap_ from './PluggableMap.js';
|
||||
import _ol_PluginType_ from './PluginType.js';
|
||||
import {defaults as defaultControls} from './control.js';
|
||||
import _ol_interaction_ from './interaction.js';
|
||||
import {defaults as defaultInteractions} from './interaction.js';
|
||||
import _ol_obj_ from './obj.js';
|
||||
import _ol_plugins_ from './plugins.js';
|
||||
import _ol_renderer_canvas_ImageLayer_ from './renderer/canvas/ImageLayer.js';
|
||||
@@ -90,7 +90,7 @@ var _ol_Map_ = function(options) {
|
||||
options.controls = defaultControls();
|
||||
}
|
||||
if (!options.interactions) {
|
||||
options.interactions = _ol_interaction_.defaults();
|
||||
options.interactions = defaultInteractions();
|
||||
}
|
||||
|
||||
_ol_PluggableMap_.call(this, options);
|
||||
|
||||
Reference in New Issue
Block a user