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

This commit is contained in:
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

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 {