Migrating To v4
Last updated
Was this helpful?
Last updated
Was this helpful?
This update brings major breaking changes for all users.
Please refer to the sections below for information on how to migrate your project. This will contain the changes that most users may need to make, but not all changes.
For a full list of changes, please see the full , and make use of the old and new API reference.
TileLayer
ChangesOne of the major cores of flutter_map has been upgraded to the 21st century by a generous contributor (@rorystephenson). This increases the simplicity of the layer, and its performance!
Grey boxes get a little boring, don't you think? We think so as well, so we've developed a new interactive animated attribution layer that should cover all your needs.
Alternatively, consider implementing attribution using to take advantage of the new interactive, animated layer.
To migrate map code, use the interactiveFlags
as above. See .
To migrate plugin code, use onVerticalDrag
and onHorizontalDrag
updates instead of onPan
. For more information, see .
For more information, see .