Add new tests for FeatureOverlay
In the process of creating these tests, a bug with setting this._style was also fixed.
This commit is contained in:
@@ -65,7 +65,7 @@ ol.FeatureOverlay = function(opt_options) {
|
||||
* @private
|
||||
* @type {ol.style.Style|Array.<ol.style.Style>|ol.feature.StyleFunction}
|
||||
*/
|
||||
this.style_ = null;
|
||||
this.style_ = goog.isDef(options.style) ? options.style : null;
|
||||
|
||||
/**
|
||||
* @private
|
||||
|
||||
Reference in New Issue
Block a user