From f81120f35f092c4abc4e74eb0efa06f9121fcaaf Mon Sep 17 00:00:00 2001 From: Andy Balaam Date: Wed, 12 Jan 2022 13:55:52 +0000 Subject: [PATCH] Set the default zoom level for location to 15, matching iOS and Android (#7524) --- src/components/views/location/LocationPicker.tsx | 2 +- src/components/views/messages/MLocationBody.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/views/location/LocationPicker.tsx b/src/components/views/location/LocationPicker.tsx index c38e61b443..7a7926d867 100644 --- a/src/components/views/location/LocationPicker.tsx +++ b/src/components/views/location/LocationPicker.tsx @@ -72,7 +72,7 @@ class LocationPicker extends React.Component { container: 'mx_LocationPicker_map', style: config.map_style_url, center: [0, 0], - zoom: 1, + zoom: 15, }); try { diff --git a/src/components/views/messages/MLocationBody.tsx b/src/components/views/messages/MLocationBody.tsx index bce5c85022..9ed1e22fa4 100644 --- a/src/components/views/messages/MLocationBody.tsx +++ b/src/components/views/messages/MLocationBody.tsx @@ -204,7 +204,7 @@ export function createMap( container: bodyId, style: styleUrl, center: coordinates, - zoom: 13, + zoom: 15, interactive, });