Skip to content
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

Merged
merged 2 commits into from
Feb 26, 2019

Conversation

pdunshee-phunware
Copy link
Contributor

Fixed no PWCore.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 {

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

implemented

@pdunshee-phunware pdunshee-phunware merged commit 60b0b11 into sample_updates Feb 26, 2019
pdunshee-phunware added a commit that referenced this pull request Apr 17, 2019
* 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
pdunshee-phunware added a commit that referenced this pull request May 20, 2019
* 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
@ghost ghost deleted the turn_by_turn branch October 31, 2020 04:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants