Add Dependency
Add maplibre_gl
to your project by running this command:
flutter pub add maplibre_gl
or add it directly as a dependency to your pubspec.yaml
file and run
flutter pub get
:
pubspec.yaml
dependencies:
maplibre_gl: ^0.20.0 # use the latest version found on pub.dev
You can find the latest version of the package on pub.dev or here: