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

Store current road details in map view controller #297

Closed
wants to merge 2 commits into from

Conversation

1ec5
Copy link
Contributor

@1ec5 1ec5 commented Jun 20, 2017

RouteMapViewController now stores the current name and classification of the current road, based on the same process by which the current road name label is populated. Eventually, perhaps RouteVoiceController could somehow gain access to this information so that it could word and time voice announcements differently on freeways versus surface streets.

At first glance, this might also look like a good solution to #291 (comment), Project-OSRM/osrm-text-instructions#51, and #286 (comment). However, this feature querying mechanism only gives us information about the road the user is currently traveling on, not the one the user needs to turn onto.

/cc @bsudekum @frederoni

@1ec5 1ec5 added the ⚠️ DO NOT MERGE PR should not be merged! label Jun 20, 2017
@1ec5 1ec5 self-assigned this Jun 20, 2017
@1ec5
Copy link
Contributor Author

1ec5 commented Jun 20, 2017

In order to use this mechanism for the upcoming road, we’d need to somehow load the tile around the maneuver point off-screen and query that tile for a matching road. It seems like overkill, but the Maps API’s tile query method would give us what we need here.

1ec5 added 2 commits July 11, 2017 15:12
RouteMapViewController now stores the current road name and synchronizes it with the label that displays the name.
@ericrwolfe ericrwolfe added general: experimental and removed ⚠️ DO NOT MERGE PR should not be merged! labels Aug 24, 2017
@ericrwolfe
Copy link
Contributor

Tagged as experimental and closing for now. Will revisit when we explore implementing custom navigation road labels.

@ericrwolfe ericrwolfe closed this Aug 24, 2017
@JThramer JThramer deleted the 1ec5-current-name-class branch September 7, 2018 20:34
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.

2 participants