From a7c98086be7d109fea449e8a75db8d8e57f6cc07 Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Fri, 28 May 2021 12:33:06 +0200 Subject: [PATCH] Zoom in when the location is known and the button is pressed --- Logic/Actors/GeoLocationHandler.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/Logic/Actors/GeoLocationHandler.ts b/Logic/Actors/GeoLocationHandler.ts index 2d56880a0e..01c8725e79 100644 --- a/Logic/Actors/GeoLocationHandler.ts +++ b/Logic/Actors/GeoLocationHandler.ts @@ -237,6 +237,7 @@ export default class GeoLocationHandler extends UIElement { } if (this._currentGPSLocation.data !== undefined) { this._currentGPSLocation.ping() + this._leafletMap.data.setZoom(16) }