HomeGitPull.it

Add user position to the map!

Authored by fabio.mazza on Sun, Jul 12, 19:16.

Description

Add user position to the map!

Summary:
Add user position to the map:

  • I have used a FolderOverlay, which groups together all the stops Markers, so that only them get thrown away at each load, and the user position stays. It would be much better to just load them all on the map, but that probably takes too much memory.... Or well, manually decide which markers to throw away and which markers to create when the user moves the map around (which might be a LOT better for the performance)
  • Use app context for the AppLocationManager, so to avoid memory leaks

Test Plan: check if builds correctly

Reviewers: valerio.bozzolan

Reviewed By: valerio.bozzolan

Subscribers: valerio.bozzolan, Libre BusTO

Tags: Libre BusTO

Maniphest Tasks: T401

Differential Revision: https://gitpull.it/D35

Details

Committed
fabio.mazzaTue, Jul 14, 15:17
Pushed
fabio.mazzaTue, Jul 14, 15:17
Reviewer
valerio.bozzolan
Differential Revision
D35: Add user position to the map!
Parents
R4:af22223dac2a: Italian syntax check
Branches
Unknown
Tags
Unknown
Tasks
T401: Show user position in the BusTO in-app map
Build Status
Buildable 101
Build 145: BusTO Build Plan