Label the link to ol.interaction as ol.interaction.Interaction

The documentation is really talking about instance of Interaction, not the namespace.  This is more clear for users.
This commit is contained in:
Paul Spencer
2013-09-13 09:04:19 -04:00
parent 28ee9bcd9b
commit 3ab50facc7
2 changed files with 3 additions and 2 deletions

View File

@@ -53,7 +53,7 @@
* @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} instances that allow the user to interact with
* {@link ol.interaction|ol.interaction.Interaction} instances that allow the user to interact with
* the map.
* @property {Array.<ol.layer.Base>|ol.Collection|undefined} layers Layers.
* @property {ol.Collection|Array.<ol.Overlay>|undefined} overlays

View File

@@ -508,7 +508,8 @@ ol.Map.prototype.getFeatures = function(options) {
/**
* Gets the collection of {@link ol.interaction} instances
* Gets the collection of
* {@link ol.interaction|ol.interaction.Interaction} instances
* associated with this map. Modifying this collection
* changes the interactions associated with the map.
*