Merge pull request #3293 from ahocevar/icon-opacity
Add missing opacity option for ol.style.IconOptions
This commit is contained in:
@@ -5832,6 +5832,7 @@ olx.style.FillOptions.prototype.color;
|
||||
* img: (Image|undefined),
|
||||
* offset: (Array.<number>|undefined),
|
||||
* offsetOrigin: (ol.style.IconOrigin|undefined),
|
||||
* opacity: (number|undefined),
|
||||
* scale: (number|undefined),
|
||||
* snapToPixel: (boolean|undefined),
|
||||
* rotateWithView: (boolean|undefined),
|
||||
@@ -5921,6 +5922,14 @@ olx.style.IconOptions.prototype.offset;
|
||||
olx.style.IconOptions.prototype.offsetOrigin;
|
||||
|
||||
|
||||
/**
|
||||
* Opacity of the icon. Default is `1`.
|
||||
* @type {number|undefined}
|
||||
* @api
|
||||
*/
|
||||
olx.style.IconOptions.prototype.opacity;
|
||||
|
||||
|
||||
/**
|
||||
* Scale.
|
||||
* @type {number|undefined}
|
||||
|
||||
Reference in New Issue
Block a user