Set the default zoom level for location to 15, matching iOS and Android (#7524)

pull/21833/head
Andy Balaam 2022-01-12 13:55:52 +00:00 committed by GitHub
parent 11c8e720b2
commit f81120f35f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -204,7 +204,7 @@ export function createMap(
container: bodyId,
style: styleUrl,
center: coordinates,
zoom: 13,
zoom: 15,
interactive,
});