-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Turn by turn reusability refactor and updated designs #89
Conversation
…e.set in a few scenarios
movementLabel.attributedText = routeInstruction.attributedInstructionString(highlightedTextColor: UIColor(displayP3Red: 4.0/255.0, green: 114.0/255.0, blue: 254.0/255.0, alpha: 1.0), regularTextColor: .darkText) | ||
} | ||
|
||
private func imageFromDirection(_ direction: PWRouteInstructionDirection) -> UIImage { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this function be moved into the PWRoute extension? The cell really shouldn't be concerned with resolving the image for a particular route instruction. All it should be concerned about is showing the image. The route instruction extension has all of the relevant information to get the image.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
implemented
* Voice prompt and Walk Time Scenarios (#87) * Add voice prompt sample * Voice prompt use language of device, move some walk time calculation into extension * Add voice prompt button design (#88) * Turn by turn reusability refactor and updated designs (#89) * Turn by turn reusability refactor and updated designs. Fixed no PWCore.set in a few scenarios * Move image get to PWRouteInstruction extension * Add Walk Time sample (#90) * Add Walk Time sample * Dynamically calculate user's speed * Code improvement * Code improvement * Instruction list (#91) * Add route instruction list, fix instruction carousel offset bug * Add sample readmes * Add sample readmes * Update sample readmes * Off route sample code scenario * PR changes and read me file added * Fix readme * Update TurnByTurn.md * Update WalkTime.md * When mute tapped, stop reading instruction. When unmute tapped, read … (#94) * When mute tapped, stop reading instruction. When unmute tapped, read current instruction. Fix issues with WalkTime * Check authorization status for always and whenInUse * Incorporate design feedback for off route scenario * Update Walk Time calculation sample * minor tweak * Change the exit button function * Constant for the values used in multiple places * Change the walk time view implementation on the route step list page. * Sample version (#98) * Updating PWMapKit to v3.7.1. See CHANGELOG for details. * Updating PWMapKit to v3.8.0. See CHANGELOG for details. * Update samples to 3.8.0 * Readme updates
* Voice prompt and Walk Time Scenarios (#87) * Add voice prompt sample * Voice prompt use language of device, move some walk time calculation into extension * Add voice prompt button design (#88) * Turn by turn reusability refactor and updated designs (#89) * Turn by turn reusability refactor and updated designs. Fixed no PWCore.set in a few scenarios * Move image get to PWRouteInstruction extension * Add Walk Time sample (#90) * Add Walk Time sample * Dynamically calculate user's speed * Code improvement * Code improvement * Instruction list (#91) * Add route instruction list, fix instruction carousel offset bug * Add sample readmes * Add sample readmes * Update sample readmes * Off route sample code scenario * PR changes and read me file added * Fix readme * Update TurnByTurn.md * Update WalkTime.md * When mute tapped, stop reading instruction. When unmute tapped, read … (#94) * When mute tapped, stop reading instruction. When unmute tapped, read current instruction. Fix issues with WalkTime * Check authorization status for always and whenInUse * Incorporate design feedback for off route scenario * Update Walk Time calculation sample * minor tweak * Change the exit button function * Constant for the values used in multiple places * Change the walk time view implementation on the route step list page. * Sample version (#98) * Updating PWMapKit to v3.7.1. See CHANGELOG for details. * Updating PWMapKit to v3.8.0. See CHANGELOG for details. * Update samples to 3.8.0 * Readme updates * Update turn by turn for blue dot in WalkTime
Fixed no PWCore.set in a few scenarios