You've already forked matrix-react-sdk
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:
@@ -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,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user