Skip to content

Commit

Permalink
fixup! implement new portal data check in marker
Browse files Browse the repository at this point in the history
  • Loading branch information
le-jeu committed Feb 15, 2021
1 parent 790c2e7 commit 10cafe2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/code/portal_marker.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ L.PortalMarker = L.CircleMarker.extend({
},
updateDetails: function(details) {
// portal has been moved
if (this.details) {
if (this._details) {
if (this._details.latE6 !== details.latE6 || this._details.lngE6 !== details.lngE6)
this.setLatLng(L.latLng(details.latE6/1E6, details.lngE6/1E6));

Expand Down

0 comments on commit 10cafe2

Please sign in to comment.