Zoom in when the location is known and the button is pressed
This commit is contained in:
parent
8645fd8cbe
commit
a7c98086be
1 changed files with 1 additions and 0 deletions
|
@ -237,6 +237,7 @@ export default class GeoLocationHandler extends UIElement {
|
|||
}
|
||||
if (this._currentGPSLocation.data !== undefined) {
|
||||
this._currentGPSLocation.ping()
|
||||
this._leafletMap.data.setZoom(16)
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue