No need to update the style when no source is set
This commit is contained in:
@@ -390,8 +390,10 @@ class WebGLTileLayer extends BaseTileLayer {
|
||||
* @private
|
||||
*/
|
||||
handleSourceUpdate_() {
|
||||
if (this.getSource()) {
|
||||
this.setStyle(this.style_);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @private
|
||||
|
||||
Reference in New Issue
Block a user