1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-05 23:10:41 +03:00

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
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,
}); });