Methods
-
module:ol/control.defaults(opt_options){module:ol/Collection~Collection.<module:ol/control/Control~Control>}
control/util.js, line 27 -
Set of controls included in maps by default. Unless configured otherwise, this returns a collection containing an instance of each of the following controls:
Name Type Description optionsDefaults options.
Name Type Default Description attributionboolean true attributionOptionsmodule:ol/control/Attribution~Options Options for
module:ol/control/Attribution~Attribution.rotateboolean true Include
module:ol/control/Rotate~Rotate.rotateOptionsmodule:ol/control/Rotate~Options Options for
module:ol/control/Rotate~Rotate.zoomboolean Include
module:ol/control/Zoom~Zoom.zoomOptionsmodule:ol/control/Zoom~Options Options for
module:ol/control/Zoom~Zoom.Returns:
Controls.