Add support for passing interactions as an array for consistency.
This commit is contained in:
@@ -57,9 +57,8 @@
|
||||
* @typedef {Object} ol.MapOptions
|
||||
* @property {ol.Collection|Array.<ol.control.Control>|undefined} controls
|
||||
* Controls initially added to the map.
|
||||
* @property {ol.Collection|undefined} interactions A collection of
|
||||
* {@link ol.interaction|ol.interaction.Interaction} instances that allow the user to interact with
|
||||
* the map.
|
||||
* @property {ol.Collection|Array.<ol.interaction.Interaction>|undefined}
|
||||
* interactions Interactions that are initially added to the map.
|
||||
* @property {Array.<ol.layer.Base>|ol.Collection|undefined} layers Layers.
|
||||
* @property {ol.Collection|Array.<ol.Overlay>|undefined} overlays
|
||||
* Overlays initially added to the map.
|
||||
|
||||
Reference in New Issue
Block a user