Add in-app map accessible from the button on the top menu. Change function to view a fovourite stop on the map.
Details
- Reviewers
valerio.bozzolan fabio.mazza - Group Reviewers
Libre BusTO - Maniphest Tasks
- T15: Show in-app map
- Commits
- R4:b2b6e0403f74: Add in-app map!
R4:b1e806d2c69c: Add a way to query all the Bus Stops in a Map view
Diff Detail
- Repository
- R4 Libre BusTO
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
You can pull the latest changes from master to take advantage of this (maybe) useful method:
R4:b1e806d2c69c: Add a way to query all the Bus Stops in a Map view
Add markers and simple markers' functions to the in-app map - Merge branch 'master' of ssh://gitpull.it/source/libre-busto
I added some markers to the map, the map loads only the markers wich are in the screen.
On the first tap the markers show the info window popup, on the second, they take you to a wonderful trip to the stop's tab.
As you can see the info windows is still ugly. I'll work on it.
The app should ask for the STORAGE permission, otherwise osmdroid won't use the cache to save the tiles.
Giving the permission manually gives a strong boost to the tiles loading.
Also, I think that touching the "bubble" that comes out of a stop should make it show the arrivals at the stop
Add a personalized popup info window and some graphic improvments - Merge branch 'master' of ssh://gitpull.it/source/libre-busto
With this last Diff I did also that: I added a custom info window class that extends default info window class.
So, now the popup is clickable and it's also personalizable. I will work on its design.
This is the actual feel:
I sincerely see that you are going in the right direction. Now we only need some user interface sugar.
I opened T305: Design a suitable bus stop POI icon for the in-app map to further improve the design of this part. I'm inclined to accept this revision at this state because is stable enough.
Add angry bus image to favorites activity and improve the tip - Merge branch 'master' of ssh://gitpull.it/source/libre-busto
Let's merge this into master even if there are still some usability issues.
Stable enough to play around.