Correct type for Translate interaction options

This commit is contained in:
Tim Schaub
2018-04-19 18:10:08 -06:00
parent 6b1a2e884d
commit 20bbd71702

View File

@@ -38,7 +38,7 @@ const TranslateEventType = {
/**
* @typedef {Object} interaction_TranslateOptions
* @typedef {Object} Options
* @property {module:ol/Collection~Collection.<module:ol/Feature~Feature>} [features] Only features contained in this collection will be able to be translated. If
* not specified, all features on the map will be able to be translated.
* @property {Array.<module:ol/layer/Layer~Layer>|function(module:ol/layer/Layer~Layer): boolean} [layers] A list of layers from which features should be
@@ -94,7 +94,7 @@ inherits(TranslateEvent, Event);
* @constructor
* @extends {module:ol/interaction/Pointer~Pointer}
* @fires module:ol/interaction/Translate~TranslateEvent
* @param {olx.interaction.TranslateOptions=} opt_options Options.
* @param {module:ol/interaction/Translate~Options=} opt_options Options.
* @api
*/
const Translate = function(opt_options) {