Initialize properties in the constructor
This commit is contained in:
@@ -46,7 +46,7 @@ ol.Feature = function(opt_geometryOrValues) {
|
||||
* @private
|
||||
* @type {ol.feature.FeatureStyleFunction|undefined}
|
||||
*/
|
||||
this.styleFunction_;
|
||||
this.styleFunction_ = undefined;
|
||||
|
||||
/**
|
||||
* @private
|
||||
|
||||
Reference in New Issue
Block a user