From 20bbd717023580b34af72e3bf277c565e114f0c3 Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Thu, 19 Apr 2018 18:10:08 -0600 Subject: [PATCH] Correct type for Translate interaction options --- src/ol/interaction/Translate.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ol/interaction/Translate.js b/src/ol/interaction/Translate.js index 9035c35a52..81d1ce9d9b 100644 --- a/src/ol/interaction/Translate.js +++ b/src/ol/interaction/Translate.js @@ -38,7 +38,7 @@ const TranslateEventType = { /** - * @typedef {Object} interaction_TranslateOptions + * @typedef {Object} Options * @property {module:ol/Collection~Collection.} [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.|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) {