The map now has a collection of controls

This commit is contained in:
Éric Lemoine
2013-06-04 07:08:43 +02:00
parent 79980bc7be
commit b85520f504
3 changed files with 39 additions and 19 deletions

View File

@@ -43,8 +43,8 @@
/**
* Object literal with config options for the map.
* @typedef {Object} ol.MapOptions
* @property {Array.<ol.control.Control>|undefined} controls Controls initially
* added to the map.
* @property {ol.Collection|Array.<ol.control.Control>|undefined} controls
* Controls initially added to the map.
* @property {ol.Collection|undefined} interactions Interactions.
* @property {Array.<ol.layer.Layer>|ol.Collection|undefined} layers Layers.
* @property {ol.RendererHint|undefined} renderer Renderer.