Increase animation speed, decrease zoom level of fly to location.
This commit is contained in:
parent
d7d7952111
commit
5134bce714
1 changed files with 6 additions and 1 deletions
|
@ -114,7 +114,12 @@ export class GeoLocationHandler extends UIElement {
|
|||
return "";
|
||||
}
|
||||
if (State.state.currentGPSLocation.data !== undefined) {
|
||||
map.flyTo(State.state.currentGPSLocation.data.latlng, 18);
|
||||
State.state.bm.map.flyTo(
|
||||
State.state.currentGPSLocation.data.latlng, 16,
|
||||
{
|
||||
duration: 0.25,
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue