mirror of
https://github.com/element-hq/element-web
synced 2024-11-23 09:46:09 +03:00
Set the default zoom level for location to 15, matching iOS and Android (#7524)
This commit is contained in:
parent
11c8e720b2
commit
f81120f35f
2 changed files with 2 additions and 2 deletions
|
@ -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 {
|
||||||
|
|
|
@ -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,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue