mapbox_maps_flutter
3.35.1, released yesterday by mapbox.com
Official Mapbox Maps SDK for Flutter to render interactive vector maps.
What it does
Adds a native, GPU-accelerated MapWidget to render Mapbox Vector Tiles, GeoJSON, and custom styles across Android, iOS, and Web. Provides camera controls, markers, location puck tracking, and offline map caching.
AI-written summary of version 3.34.2, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to display custom, vector-based interactive maps powered by Mapbox.
- Your app targets Android, iOS, and Web with native map rendering.
- You require advanced mapping features like custom styles, vector layers, and location tracking.
Skip it when
- You prefer an open-source mapping solution without third-party proprietary dependencies.
- You only need basic raster maps without Mapbox infrastructure.
Strengths
- Official SDK supporting Android, iOS, and Web with hardware acceleration.
- Rich set of customization features including custom styles, annotations, and camera controls.
- Supports offline map caching on mobile platforms.
Weaknesses
- Requires a Mapbox access token and active account.
- CocoaPods distribution is no longer supported on iOS (requires Swift Package Manager).
Setup
- Kind
- Plugin (native code)
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 5
Configure a Mapbox access token via --dart-define. Add location permissions to AndroidManifest.xml and Info.plist if using the location puck. Swift Package Manager is required for iOS.
import 'package:flutter/widgets.dart';
import 'package:mapbox_maps_flutter/mapbox_maps_flutter.dart';
class MapScreen extends StatelessWidget {
const MapScreen({super.key});
@override
Widget build(BuildContext context) {
return const MapWidget();
}
}Alternatives
Packages that do the same job and could replace mapbox_maps_flutter.
- flutter_map
A pure Flutter map widget using OpenStreetMap tiles without requiring third-party API tokens.
90Compare - google_maps_flutter
If you prefer Google Maps over Mapbox for your application.
90Compare - maplibre_gl
An open-source alternative to Mapbox for vector tile rendering.
91Compare
Works with
Packages commonly used together with mapbox_maps_flutter: ones it builds on, ones built on it, and its own family.