Named export for ol/control
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
import {inherits} from './index.js';
|
||||
import _ol_PluggableMap_ from './PluggableMap.js';
|
||||
import _ol_PluginType_ from './PluginType.js';
|
||||
import _ol_control_ from './control.js';
|
||||
import {defaults as defaultControls} from './control.js';
|
||||
import _ol_interaction_ from './interaction.js';
|
||||
import _ol_obj_ from './obj.js';
|
||||
import _ol_plugins_ from './plugins.js';
|
||||
@@ -87,7 +87,7 @@ _ol_plugins_.registerMultiple(_ol_PluginType_.LAYER_RENDERER, [
|
||||
var _ol_Map_ = function(options) {
|
||||
options = _ol_obj_.assign({}, options);
|
||||
if (!options.controls) {
|
||||
options.controls = _ol_control_.defaults();
|
||||
options.controls = defaultControls();
|
||||
}
|
||||
if (!options.interactions) {
|
||||
options.interactions = _ol_interaction_.defaults();
|
||||
|
||||
Reference in New Issue
Block a user