Before publishing your app to users, you should credit any sources you use, according to their Terms of Service.
There are two built in methods to provide attribution,
SimpleAttributionWidget, but you can also build your own using a simple
Alignwidget. All of these should be inserted into the map's
You must comply to your tile server's ToS. Failure to do so may result in you being banned from their services.
This package is not responsible for your misuse of another tile server.
Please consider crediting flutter_map. It helps us to gain more awareness, which helps make this project better for everyone!
An animated, interactive attribution layer that supports both logos/images (displayed permanently) and text (displayed in a popup controlled by an icon button adjacent to the logos).
It is heavily customizable (in both animation and contents), and designed to easily meet the needs of most ToSs out of the box.
RichAttributionWidget, as in the example app
animationConfig: const ScaleRAWA(), // Or `FadeRAWA` as is default
onTap: () => launchUrl(Uri.parse('https://openstreetmap.org/copyright')),
For more information about configuration and all the many options this supports, see the in-code API documentation.
We also provide a more 'classic' styled box, similar to those found on many web maps. These are less customizable, but might be preferred over
RichAttributionWidgetfor maps with limited interactivity.
SimpleAttributionWidget, as in the example app
source: Text('OpenStreetMap contributors'),