Make ol.style.Style a @struct

And take into account that `styles` may be a style or an array of style.
This commit is contained in:
Frederic Junod
2016-02-10 16:56:42 +01:00
parent a924908f12
commit f7e20377ec
3 changed files with 7 additions and 3 deletions

View File

@@ -19,6 +19,7 @@ goog.require('ol.style.Stroke');
* feature or layer that uses the style is re-rendered.
*
* @constructor
* @struct
* @param {olx.style.StyleOptions=} opt_options Style options.
* @api
*/