Handle concrete classes with non implemented abstract methods
This commit is contained in:
+1
-1
@@ -331,7 +331,7 @@ ol.Map = function(options) {
|
||||
* @type {ol.renderer.Map}
|
||||
* @private
|
||||
*/
|
||||
this.renderer_ = new optionsInternal.rendererConstructor(this.viewport_, this);
|
||||
this.renderer_ = new /** @type {Function} */ (optionsInternal.rendererConstructor)(this.viewport_, this);
|
||||
|
||||
/**
|
||||
* @type {function(Event)|undefined}
|
||||
|
||||
Reference in New Issue
Block a user