Skip to content

Commit

Permalink
[BUILD]
Browse files Browse the repository at this point in the history
  • Loading branch information
Viglino committed Sep 12, 2023
1 parent 5f1ba04 commit b28f5c4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions dist/ol-ext.js
Original file line number Diff line number Diff line change
Expand Up @@ -35566,9 +35566,11 @@ ol.Overlay.AnimatedCanvas = class olOverlayAnimatedCanvas extends ol.Overlay {
* @param {ol.Map} map The map instance.
*/
setMap(map) {
/*
if (this.getMap()) {
this.getMap().getViewport().querySelector('.ol-overlaycontainer').removeChild(this._canvas);
}
*/
this._listener.forEach(function (l) {
ol.Observable.unByKey(l);
});
Expand All @@ -35588,6 +35590,7 @@ ol.Overlay.AnimatedCanvas = class olOverlayAnimatedCanvas extends ol.Overlay {
}
}.bind(this)));
}
this.setAnimation(!!map);
}
/** Create particules or return exiting ones
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/ol-ext.min.js

Large diffs are not rendered by default.

0 comments on commit b28f5c4

Please sign in to comment.