From 938e475db194ec8c6834e6163132aaccd6e192d8 Mon Sep 17 00:00:00 2001 From: Andreas Hocevar Date: Wed, 7 Mar 2018 13:46:36 +0100 Subject: [PATCH] Move MapOptionsInternal to PluggableMap --- src/ol/PluggableMap.js | 11 +++++++++++ src/ol/typedefs.js | 11 ----------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/ol/PluggableMap.js b/src/ol/PluggableMap.js index ed8d18f7c9..124a1211c6 100644 --- a/src/ol/PluggableMap.js +++ b/src/ol/PluggableMap.js @@ -31,6 +31,17 @@ import {DROP} from './structs/PriorityQueue.js'; import {create as createTransform, apply as applyTransform} from './transform.js'; +/** + * @typedef {Object} MapOptionsInternal + * @property {module:ol/Collection~Collection.} [controls] + * @property {module:ol/Collection~Collection.} [interactions] + * @property {Element|Document} keyboardEventTarget + * @property {module:ol/Collection~Collection.} overlays + * @property {olx.MapRendererPlugin} mapRendererPlugin + * @property {Object.} values + */ + + /** * Object literal with config options for the map. * @typedef {{controls: (ol.Collection.|Array.|undefined), diff --git a/src/ol/typedefs.js b/src/ol/typedefs.js index 5078f36e90..989010d627 100644 --- a/src/ol/typedefs.js +++ b/src/ol/typedefs.js @@ -366,17 +366,6 @@ ol.LoadingStrategy; ol.LRUCacheEntry; -/** - * @typedef {{controls: (ol.Collection.|undefined), - * interactions: (ol.Collection.|undefined), - * keyboardEventTarget: (Element|Document), - * overlays: ol.Collection., - * mapRendererPlugin: olx.MapRendererPlugin, - * values: Object.}} - */ -ol.MapOptionsInternal; - - /** * An array representing an affine 2d transformation for use with * {@link ol.transform} functions. The array has 6 elements.