Fix clicking on map crashing

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2022-05-10 15:31:36 +02:00
parent 18ceeb450a
commit ef26f1a684
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773
1 changed files with 3 additions and 1 deletions

View File

@ -142,8 +142,10 @@ export default class Map extends Vue {
}
updateDraggableMarkerPosition(e: LatLng): void {
if (this.updateDraggableMarkerCallback) {
this.updateDraggableMarkerCallback(e, this.zoom);
}
}
updateZoom(zoom: number): void {
this.zoom = zoom;