As others mentioned, there are now some things that are implemented in MapLibreFragment (general map) and not in LinesDetailFragment (map of line), which is (so far) switching of source positions, and vice-versa in LinesDetailFragment we can see more detail of a bus.
We need to merge the code, creating a common base. Astarting point already exists in GeneralMapLibreFragment, but we need to move more code there:
- drawing of bus icons (including the "active" bus icon)
- animation of the buses (easy once above is done)
- map construction / destruction
- binding to the bottom layout
- "activating" the bus and showing the info in the bottom layout