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

Update MapboxDirections #89

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Patrick-Kladek
Copy link
Contributor

Description

In the last Maplibre Meeting we decided to use & update MapboxDirections to the original Mapbox version, away from this fork https://github.com/flitsmeister/mapbox-directions-swift.

We also have a Github discussion about this here: #87

Open Tasks

  • update to original MapboxDirections Package
  • begin removing objc annotations
  • fix build error

Infos for Reviewer

The fork is way behind so integrating MapboxDirections is not an easy task. MapboxDirections is now optimized for Swift. One of the major changes is that VisualInstructionComponent is now renamed to VisualInstruction.Component, an enum with associated values. This is incompatible with how we present banners & spoken instructions. I've tried to make the code work but I've definitely broken something.

This PR state is far from finished or even reviewable. I've fixed around 200 build errors, just so that another 90 appeared. Given that I don't even know if this works I'm stopping here for now, but keeping this PR if anyone wants to continue off of it.

@boldtrn
Copy link
Collaborator

boldtrn commented Jul 27, 2024

This PR state is far from finished or even reviewable. I've fixed around 200 build errors, just so that another 90 appeared. Given that I don't even know if this works I'm stopping here for now, but keeping this PR if anyone wants to continue off of it.

Thanks for looking into this. Yes this was exactly what I expected, things got renamed and this has a direct effect on the navigation code.

@michaelkirk michaelkirk mentioned this pull request Jul 29, 2024
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