Update chat balloon position on projection change
This commit is contained in:
parent
7a4207d946
commit
90638f4297
@ -233,7 +233,10 @@ export default defineComponent({
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
currentProjection() {
|
currentProjection() {
|
||||||
this.marker.setLatLng(this.currentProjection.locationToLatLng(this.player.location));
|
const latLng = this.currentProjection.locationToLatLng(this.player.location);
|
||||||
|
|
||||||
|
this.marker.setLatLng(latLng);
|
||||||
|
this.chatBalloon.setLatLng(latLng);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user