Skip to content
pubscout

flutter_mapbox_navigation

0.2.2, released 3 years ago by eopeter.com

Add turn-by-turn navigation to your Flutter app using Mapbox.

Quiet but busy
$ flutter pub add flutter_mapbox_navigation
Source repository

What it does

Integrates Mapbox turn-by-turn navigation directly into Flutter applications for Android and iOS. It supports real-time routing, traffic avoidance, voice and banner instructions, and customizable UI views or embedded widgets.

AI-written summary of version 0.2.2, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need full turn-by-turn driving, cycling, or walking directions inside your app.
  • You want to display embedded navigation views within your widget tree.

Skip it when

  • You only need basic static maps without navigation or routing.
  • You do not want to configure native Mapbox API tokens and download credentials.

Strengths

  • Provides a full-fledged turn-by-turn navigation UI ready to drop in
  • Supports multiple waypoints and live event listeners for navigation progress
  • Includes natural-sounding turn instructions and day/night map styles

Weaknesses

  • Requires manual configuration of Mapbox access tokens and gradle/Info.plist properties
  • Offline routing is currently listed as a TODO
  • License is unknown

Setup

Kind
Plugin (native code)
Effort
High
Code generation
No
Direct dependencies
2

Requires Mapbox accounts, download tokens in .netrc (iOS) and gradle.properties (Android), location permissions, background mode configurations, and modifying MainActivity to extend FlutterFragmentActivity.

final cityhall = WayPoint(name: "City Hall", latitude: 42.886448, longitude: -78.878372);
final downtown = WayPoint(name: "Downtown Buffalo", latitude: 42.8866177, longitude: -78.8814924);
var wayPoints = List<WayPoint>();
wayPoints.add(cityHall);
wayPoints.add(downtown);
await MapBoxNavigation.instance.startNavigation(wayPoints: wayPoints);

Alternatives

Packages that do the same job and could replace flutter_mapbox_navigation.

Works with

Packages commonly used together with flutter_mapbox_navigation: ones it builds on, ones built on it, and its own family.