Set initial zoom level to 1 to make zooming to location faster (#7541)

pull/21833/head
Andy Balaam 2022-01-14 12:21:22 +00:00 committed by GitHub
parent 8c7b396bb5
commit 6444aaeeff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ class LocationPicker extends React.Component<IProps, IState> {
container: 'mx_LocationPicker_map',
style: config.map_style_url,
center: [0, 0],
zoom: 15,
zoom: 1,
});
try {