flutter_map

Mapping package for Flutter, based off of 'leaflet.js'. Simple and easy to learn, yet completely customizable and configurable, it's the best choice for mapping in your Flutter app.
Join our Discord server for quick and easy support

Demonstration

This code snippet demonstrates everything you need for a simple map - of course, FlutterMap is much more customisable than just this!
1
return FlutterMap(
2
options: MapOptions(
3
center: LatLng(51.509364, -0.128928),
4
zoom: 9.2,
5
),
6
nonRotatedChildren: [
7
AttributionWidget.defaultWidget(
8
source: 'OpenStreetMap contributors',
9
onSourceTapped: null,
10
),
11
],
12
children: [
13
TileLayer(
14
urlTemplate: 'https://tile.openstreetmap.org/{z}/{x}/{y}.png',
15
userAgentPackageName: 'com.example.app',
16
),
17
],
18
);

Feature Highlights

Supports any* map style
We natively support any static raster tile server, including from a web server or even from the local file system or app asset store.
Stress-free setup
Migrating from a commercial library such as Google Maps has never been easier! No more complex platform-specific setup, no more API keys: just add a widget and you're done.
Wide ecosystem of plugins
In the unlikely event that flutter_map doesn't natively contain something you need, just check to see if there's a community maintained plugin that does what you need!
Add map features
Add polygons, polylines, and markers/pins to your map easily and quickly. Markers support displaying any widget you might want.

Get Help

General Support

If you're not sure how to do something, the best place to get help is on the Discord server! We're here to answer your questions as quickly as possible, so please give us as much information as you can! Please remember that we are volunteers, so we cannot guarantee fast support.

Bugs & Feature Requests

For suspected bugs or feature requests, visit the issue tracker on GitHub and ask away! We'll try to get back to you relatively quickly, but it may take longer for larger issues.
Due to time shortages and other internal matters, wait times for feature request implementations are currently extremely long and may not happen at all.
We'd love to have your contributions to add your own or others' pull requests!