Flutter MapHero
This Flutter plugin allows to show embedded interactive and customizable vector maps as a Flutter widget.
- This project is a fork of flutter-mapbox-gl, replacing its usage of Mapbox GL libraries with the open source MapHero libraries.
- The repository has been transferred to the MapHero organization. You shouldn't see any negative effects, as GitHub automatically redirects references from the old URL to the new URL. Please see #221 for more information.
Supported Platforms
- Support for web through maplibre-gl-js
- Support for android and iOS through maplibre-native
This project only supports a subset of the API exposed by these libraries.
Supported API
| Feature | Android | iOS | Web |
|---|---|---|---|
| Style | ✅ | ✅ | ✅ |
| Camera | ✅ | ✅ | ✅ |
| Gesture | ✅ | ✅ | ✅ |
| User Location | ✅ | ✅ | ✅ |
| Symbol | ✅ | ✅ | ✅ |
| Circle | ✅ | ✅ | ✅ |
| Line | ✅ | ✅ | ✅ |
| Fill | ✅ | ✅ | ✅ |
| Fill Extrusion | ✅ | ✅ | ✅ |
| Heatmap Layer | ✅ | ✅ | ✅ |
Get Started
Add as a dependency
Add maphero to your project by running this command:
flutter pub add maphero
or add it directly as a dependency to your pubspec.yaml file:
dependencies:
maphero: ^0.0.8
very welcome!
Libraries
- maphero
- This library contains the MapHero GL plugin for Flutter.