element-hq / element-web

A glossy Matrix collaboration client for the web.
https://element.io
GNU Affero General Public License v3.0
11.14k stars 1.99k forks source link

Clicking on an entry in Live Location Share should zoom the map to that entry #22897

Open ara4n opened 2 years ago

ara4n commented 2 years ago

Your use case

What would you like to do?

Find people on the live location share map by clicking on their entry in the left-hand side of the map, which would then centre the map on them.

Have you considered any alternatives?

No response

Additional context

No response

ara4n commented 2 years ago

currently it looks like it only rezooms in if your avatar is off the page - but i think that literally recentering would be useful when you have a busy map view with lots of avatars on it.

kerryarchibald commented 2 years ago

@ara4n What version did you test this on? Just tested on develop and this works as you describe. The map will recenter on the clicked avatar and reset the zoom to default. Focusing one avatar, fussing with the map, and the refocusing the same avatar works. Maybe the zoom should be tighter when focusing in?