source option added to ol.control.FullScreen including an example

This commit is contained in:
Yashar Moradi
2016-01-12 13:07:37 +01:00
parent 682e65fead
commit 299a62804c
5 changed files with 112 additions and 7 deletions

View File

@@ -1054,7 +1054,8 @@ olx.control.DefaultsOptions.prototype.zoomOptions;
* labelActive: (string|Node|undefined),
* tipLabel: (string|undefined),
* keys: (boolean|undefined),
* target: (Element|undefined)}}
* target: (Element|undefined),
* source: (Element|string|undefined)}}
* @api
*/
olx.control.FullScreenOptions;
@@ -1110,6 +1111,12 @@ olx.control.FullScreenOptions.prototype.keys;
*/
olx.control.FullScreenOptions.prototype.target;
/**
* The element to be displayed fullscreen. When not provided, the element containing the map viewport will be displayed fullscreen.
* @type {Element|string|undefined}
* @api
*/
olx.control.FullScreenOptions.prototype.source;
/**
* @typedef {{className: (string|undefined),
@@ -4244,7 +4251,6 @@ olx.source.TileImageOptions.prototype.wrapX;
olx.source.VectorTileOptions;
/**
/**
* Attributions.
* @type {Array.<ol.Attribution>|undefined}
@@ -6317,10 +6323,10 @@ olx.style.RegularShapeOptions.prototype.radius;
/**
* Inner radius of a star.
* @type {number|undefined}
* @api
*/
* Inner radius of a star.
* @type {number|undefined}
* @api
*/
olx.style.RegularShapeOptions.prototype.radius1;