Repository navigation
[CarPlay] Adds custom map buttons delegate for activity navigating. - #1962
Merged
Merged
Conversation
… navigation view.
Contributor
Is this tested at all? Have a look at #1955 and let's consider adopting a testing pattern for this. |
frederoni
reviewed
Feb 7, 2019
…pers to provide their very own map buttons based on a user's current activity on CarPlay. Changed the Example app to reflect these changes, accompanied with an example of how to use this new delegate. Made changes to all classes affected by these new changes. Added documentation on the public variables and functions that reside in the CarPlayMapViewController. Co-authored-by: Jerrad Thramer <[email protected]> Co-authored-by: Vincent Sam <[email protected]>
…iling bottom buttons displayed on the CarPlay map template,
…ons in the incorrect description of available buttons in the CarPlayMapViewController.
JThramer
approved these changes
Feb 7, 2019
JThramer
left a comment
Contributor
There was a problem hiding this comment.
Looks great, Although I'd like to see us extract all button creation out into functions.
1ec5
reviewed
Feb 7, 2019
…es. Updated localized strings and CarPlayManager delegate documentation.
Co-Authored-By: vincethecoder <[email protected]>
…panning CarPlay activity enumeration to offer the ability to customize the trailing map buttons displayed on the template in pan mode. Added a new button for dismissing pan mode on CarPlay.
vincethecoder
force-pushed
the
kobe/hide_feedback
branch
from
February 8, 2019 18:08
bde46fa to
616a7d1
Compare
…ssed within the CarPlayMapViewController.
1ec5
reviewed
Feb 8, 2019
…text. Added a CarPlayMapViewController computed property derived from the carWindow's rootViewController. Reverted the new parameter introduced in CarPlayManager delegate's mapbuttons method. Updated the CarPlayManager test to reflect changes made to the delegate method that retrieves map buttons.
…ization of the map template control layer and new buttons that can be found in the CarPlayManager and the CarPlayMapViewController.
1ec5
approved these changes
Feb 8, 2019
1ec5
left a comment
Contributor
There was a problem hiding this comment.
I think it would’ve been nice for the example to end up with some code that uses one of these new CarPlayMapViewController methods, but overall the PR looks good to go.
# Conflicts: # MapboxNavigation/CarPlayManager.swift
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This allows developers to provide custom leading/trailing bar buttons and template buttons displayed on the map. Previously, developers were unable to customize the map template's trailing bottom buttons. This effort addresses that issue.
Resolves #1963
TODO
UpdateCreate Tests/cc @mapbox/navigation-ios