Skip to content

Commit

Permalink
ensure map renders once more on moveend
Browse files Browse the repository at this point in the history
  • Loading branch information
Molly Lloyd committed Dec 11, 2018
1 parent df930f4 commit 4806016
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ui/map.js
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,7 @@ class Map extends Camera {
}

this.on('move', () => this._update(false));
this.on('moveend', () => this._update(false));
this.on('zoom', () => this._update(true));

if (typeof window !== 'undefined') {
Expand Down

0 comments on commit 4806016

Please sign in to comment.