Skip to content

Commit

Permalink
Reset this._wrappedLnLat when setting new LngLat
Browse files Browse the repository at this point in the history
  • Loading branch information
jfirebaugh committed Apr 18, 2017
1 parent 2c1615e commit 9979710
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ui/popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ class Popup extends Evented {
*/
setLngLat(lnglat) {
this._lngLat = LngLat.convert(lnglat);
this._wrappedLnLat = null;
this._update(false);
return this;
}
Expand Down

0 comments on commit 9979710

Please sign in to comment.