Skip to content

Upgrading flutter_map 3 to 4

Breaking3.1.0 → 4.0.0Breaking4New1Changed8Fixed1Other6

BreakingUpgrade verdict

4 breaking changes.

  • Deletes the unused and broken LatLngBounds.pad() method.
  • Removes the absorbPanEventsOnScrollables option.
  • Reimplements TileLayer as part of v4 release preparation.
  • This version changes things in ways that can break existing code, so start updating your app or plugin now.
Top 3 of 4 that need code or config changes
Breaking4
Deletes the unused and broken LatLngBounds.pad() method.
LatLngBounds.pad()
Removes the absorbPanEventsOnScrollables option.
absorbPanEventsOnScrollables
Reimplements TileLayer as part of v4 release preparation.
TileLayer
Introduces breaking changes for many users and plugins, so apps and plugins should begin migrating before the full release.