Fix type error in ol.layer.Vector
This commit is contained in:
committed by
Éric Lemoine
parent
e213bccef7
commit
69749dee55
@@ -25,11 +25,10 @@ ol.layer.Vector = function(opt_options) {
|
||||
var options = goog.isDef(opt_options) ?
|
||||
opt_options : /** @type {olx.layer.VectorOptions} */ ({});
|
||||
|
||||
var baseOptions = /** @type {olx.layer.LayerOptions} */
|
||||
(goog.object.clone(options));
|
||||
var baseOptions = goog.object.clone(options);
|
||||
|
||||
delete baseOptions.style;
|
||||
goog.base(this, baseOptions);
|
||||
goog.base(this, /** @type {olx.layer.LayerOptions} */ (baseOptions));
|
||||
|
||||
/**
|
||||
* User provided style.
|
||||
|
||||
Reference in New Issue
Block a user