Add exports for interactions.

This commit is contained in:
Paul Spencer
2013-09-12 13:31:26 -04:00
parent 26b46d248b
commit d7eee91195
32 changed files with 93 additions and 18 deletions
+10 -1
View File
@@ -15,8 +15,17 @@ goog.require('ol.interaction.TouchZoom');
/**
* This method is a convenience method to create a set of interactions
* to be used with an {@link ol.Map}. Specific interactions can be excluded by
* setting the appropriate option to false in the constructor options,
* but the order of the interactions is fixed. If you want to specify a
* different order for interactions, you will need to create your own
* {@link ol.interaction} instances and insert them into an
* {@link ol.Collection} in the order you want before creating your ol.Map
* instance.
* @param {ol.interaction.DefaultsOptions=} opt_options Defaults options.
* @return {ol.Collection} Interactions.
* @return {ol.Collection} A collection of interactions to be used with
* the ol.Map constructor's interactions option.
*/
ol.interaction.defaults = function(opt_options) {