Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Lite Mode

Description

Lite mode!

Screenshots

Screenshot_1676977628

Technical details

We want to implement all the features that the normal microG map supports which are also available in Google Maps in lite mode.

All annotation objects now have a corresponding abstract and lite mode class to behave correctly in lite mode.

We are still missing:

  • InfoWindows
  • Bounds-based camera updates
  • Click position
  • Click listeners on markers and circles
  • circle stroke outline padding (pending !62 (merged))
  • my location
  • Setting map padding
  • default click listener behavior
  • setClickable per docs

Also todo:

  • move more lite and full-feature mode to shared class

Limitations:

  • rendering more lite mode maps than the device can handle crashes the app. This is a problem for devices with very low performance e.g. when scrolling quickly through the Lite List Demo.

Tests

Revert 51913f9b to be able to try all of the demos in lite mode.

Issues

10 commandments of code reviews

👪 https://gitlab.e.foundation/internal/wiki/-/wikis/development/code-review

Edited by Fynn Godau

Merge request reports

Loading