Reputation: 51
I am using the official mapbox_maps_flutter package in my Flutter app to display a map and add various functionalities. I want to implement turn-by-turn navigation within the app using this package.
Has anyone successfully implemented turn-by-turn navigation with mapbox_maps_flutter? If so, could you please provide a step-by-step guide or share the necessary code snippets and configurations to achieve this?
I tried using the flutter_mapbox_navigation package for navigation, but it is causing issues with the existing mapbox_maps_flutter integration.
Upvotes: -1
Views: 399
Reputation: 1
I have implemented it on my app but the package has a lot of missing features because is outdated and most of the options there are not working. But it works good as simple navigation.
Upvotes: 0
Reputation: 690
The mapbox_maps_flutter
package is pretty much just maps, but it is an official package from Mapbox which aims to take a flutter-native approach.
flutter_mapbox_navigation
on the other hand is a community project which appears to depend on the native Android and iOS navigation SDKs from Mapbox directly (see build.gradle
). It appears to use the stock UI which is designed to be standalone and presented as a full-screen experience.
Given the fundamental differences, I would not expect any compatibility between the two.
I cannot find any related projects which would help either. Building a customized navigation experience is extremely difficult. But since that's what you're asking for, here are a few ideas.
flutter_mapbox_navigation
exclusively. This will take some effort to enable whatever customizations you may need.Upvotes: 1