Fix clicking on map crashing

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
chapril
Thomas Citharel 7 months ago
parent 18ceeb450a
commit ef26f1a684
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773
  1. 4
      js/src/components/Map.vue

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

Loading…
Cancel
Save