From 3ab50facc70f164dc5dbd1b77abf9f9344751d86 Mon Sep 17 00:00:00 2001 From: Paul Spencer Date: Fri, 13 Sep 2013 09:04:19 -0400 Subject: [PATCH] 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. --- src/objectliterals.jsdoc | 2 +- src/ol/map.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/objectliterals.jsdoc b/src/objectliterals.jsdoc index ae166e18d1..b4c68eb4b3 100644 --- a/src/objectliterals.jsdoc +++ b/src/objectliterals.jsdoc @@ -53,7 +53,7 @@ * @property {ol.Collection|Array.|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.Collection|undefined} layers Layers. * @property {ol.Collection|Array.|undefined} overlays diff --git a/src/ol/map.js b/src/ol/map.js index 79c1aaa73a..df2142fdc4 100644 --- a/src/ol/map.js +++ b/src/ol/map.js @@ -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. *