-
Notifications
You must be signed in to change notification settings - Fork 311
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #346 - Show route on map as layer on existing map view
* In the main Nearby mode with map and sliding panel, when selecting "Show route on map", the route is now shown as a layer on the existing map. The map view only changes when the closest vehicle for the route isn't in the current view bounds - in that case, the map zooms and pans to include both the current view port bounds as well as the closest vehicle for the given route. This should give much better context to the user of where they are (and their currently selected stop is) in relationship to the route. * If you're viewing arrivals for a stop from a shortcut (i.e., via ArrivalListActivity), then "Show route on map" has the same old behavior of showing the entire route on the map in a new Activity * Map padding is now changed so that components can set an individual padding without overwriting the other padding dimensions. This is important because the sliding panel needs to set the bottom map padding based on the sliding panel state, while the RouteMapController needs to set the top padding.
- Loading branch information
Showing
11 changed files
with
435 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.