Skip to content

Show own location in map views #972

@Johennes

Description

@Johennes
  • As a user of the current Android and iOS apps
  • I want to see my own location when somebody else share's theirs
  • So that I can know where I am relative to them

Designs

https://www.figma.com/file/uthEK6xuo9hSQRdWvPAre5/Location-Sharing?node-id=3103%3A64256&t=qQTpP8df6OAAcQO1-0

AC

  • The map views in the timeline remain unchanged

  • The expanded map view contains a control to display / center on the user’s own location

    • On web this is already built into MapLibre’s map view
    • On iOS / Android a custom button is needed
  • The button is hidden when the user is currently sharing their own live location in the same room

  • The button is always shown for static location shares, even if it was from the current user

  • Required permission pop-ups are displayed when the button is pressed

  • The user location is displayed using the map view's default current location annotation (subject to debate with design)

  • Tapping the button centers the map view on the user’s own location (subject to debate with design)

POC PRs

### Tasks
- [ ] https://github.com/vector-im/element-ios/issues/7361
- [ ] https://github.com/vector-im/element-android/issues/8110

Internal references

myhours: https://app.myhours.com/#/projects/2019405/overview

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions