Make options argument to ol.style.Style optional

This commit is contained in:
Tom Payne
2013-12-12 10:57:41 +01:00
parent e6becd3e92
commit 31cd8da6f6
+4 -2
View File
@@ -8,10 +8,12 @@ goog.require('ol.style.Image');
/** /**
* @constructor * @constructor
* @param {olx.style.StyleOptions} options Style options. * @param {olx.style.StyleOptions=} opt_options Style options.
* @todo stability experimental * @todo stability experimental
*/ */
ol.style.Style = function(options) { ol.style.Style = function(opt_options) {
var options = goog.isDef(opt_options) ? opt_options : {};
/** /**
* @type {ol.style.Fill} * @type {ol.style.Fill}