Move ControlOptions to ol/control/Control

This commit is contained in:
Tim Schaub
2018-03-11 10:43:58 -06:00
parent cddfd7cb3b
commit 9468fd45ec
3 changed files with 15 additions and 47 deletions
-11
View File
@@ -1,15 +1,4 @@
/**
* @typedef {Object} control_ControlOptions
* @property {Element|undefined} element The element is the control's container element. This only needs to be
* specified if you're developing a custom control.
* @property {function(ol.MapEvent)|undefined} render Function called when the control should be re-rendered. This is called
* in a requestAnimationFrame callback.
* @property {Element|string|undefined} target Specify a target if you want the control to be rendered outside of the map's
* viewport.
*/
/**
* @typedef {Object} control_FullScreenOptions
* @property {string|undefined} className CSS class name. Default is `ol-full-screen`.