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

This commit is contained in:
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', container: 'mx_LocationPicker_map',
style: config.map_style_url, style: config.map_style_url,
center: [0, 0], center: [0, 0],
zoom: 1, zoom: 15,
}); });
try { try {

View file

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