Zoom in when the location is known and the button is pressed

This commit is contained in:
pietervdvn 2021-05-28 12:33:06 +02:00
parent 8645fd8cbe
commit a7c98086be

View file

@ -237,6 +237,7 @@ export default class GeoLocationHandler extends UIElement {
} }
if (this._currentGPSLocation.data !== undefined) { if (this._currentGPSLocation.data !== undefined) {
this._currentGPSLocation.ping() this._currentGPSLocation.ping()
this._leafletMap.data.setZoom(16)
} }