Accept string as color input
This commit is contained in:
+2
-2
@@ -6040,7 +6040,7 @@ olx.style.FillOptions.prototype.color;
|
||||
* anchorOrigin: (ol.style.IconOrigin|undefined),
|
||||
* anchorXUnits: (ol.style.IconAnchorUnits|undefined),
|
||||
* anchorYUnits: (ol.style.IconAnchorUnits|undefined),
|
||||
* color: (ol.Color|undefined),
|
||||
* color: (ol.Color|string|undefined),
|
||||
* crossOrigin: (null|string|undefined),
|
||||
* img: (Image|HTMLCanvasElement|undefined),
|
||||
* offset: (Array.<number>|undefined),
|
||||
@@ -6097,7 +6097,7 @@ olx.style.IconOptions.prototype.anchorYUnits;
|
||||
|
||||
/**
|
||||
* Color to tint the icon. If not specified, the icon will be left as is.
|
||||
* @type {ol.Color|undefined}
|
||||
* @type {ol.Color|string|undefined}
|
||||
* @api
|
||||
*/
|
||||
olx.style.IconOptions.prototype.color;
|
||||
|
||||
Reference in New Issue
Block a user