License: Other

Language: Java

Please note that this project has moved. Please head to for updates.

Flutter Mapbox GL Native

This Flutter plugin for mapbox-gl-native enables embedded interactive and customizable vector maps inside of a Flutter widget. This project plugin is in early development stage. Only Android is supported for now.


Getting Started


Following examples use Mapbox vector tiles, which require a Mapbox account and a Mapbox access token. Obtain a free access token on your Mapbox account page. After you get the key, place it in project's Android directory:

  • Create a file with the following path: $project_dir/android/
  • Add mapbox.accessToken="YOUR MAPBOX ACCESS TOKEN" token to the file.

Demo app

  • Install Flutter and validate its installation with flutter doctor
  • Clone this repository with git clone
  • Run the app with cd flutter_mapbox/example && flutter run

New project

  • Create new Flutter project in your IDE or via terminal
  • Add mapbox_gl: ^0.0.1 dependency to pubspec.yaml file and get the package
  • Add Mapbox read token value in the application manifest android/app/src/main/AndroidManifest.xml:
<manifest ...
  <application ...
    <meta-data android:name="com.mapbox.token" android:value="YOUR_TOKEN_HERE" />
  • Import Mapbox widgets and add them to your widget tree
import 'package:mapbox_gl/mapbox_gl.dart';


This README file currently houses all of the documentation for this Flutter project. Please visit if you'd like more information about the Mapbox Maps SDK for Android and for more information about the Mapbox Maps SDK for iOS.

Getting Help

  • Need help with your code?: Look for previous questions on the #mapbox tag — or ask a new question.
  • Have a bug to report? Open an issue. If possible, include a full log and information which shows the issue.
  • Have a feature request? Open an issue. Tell us what the feature should do and why you want the feature.

Sample code

This repository's example library is currently the best place for you to find reference code for this project.


We welcome contributions to this repository!

If you're interested in helping build this Mapbox/Flutter integration, please read the contribution guide to learn how to get started.

Project Statistics

Sourcerank 2
Repository Size 0 Bytes
Stars 0
Forks 0
Watchers 0
Open issues 0
Dependencies 14
Contributors 9
Tags 0
Last updated
Last pushed

Top Contributors See all

Tobrun tribuipi Mike Seddon Antonio Zugaldia yoavrofe langsmith tomwyr Alex Miller Chris de Graaf

Something wrong with this page? Make a suggestion

Last synced: 2019-03-23 12:01:23 UTC

Login to resync this repository