tlserver / flutter_map_location_marker

A flutter map plugin for displaying device current location.
https://pub.dev/packages/flutter_map_location_marker
BSD 3-Clause "New" or "Revised" License
97 stars 81 forks source link

FMLM does not support Flutter Map 4. #62

Closed elliottetzkorn closed 1 year ago

elliottetzkorn commented 1 year ago

When using the dev branch, flutter_map: ^4.0.0-dev.1, which Flutter Map is officially suggesting users begin migrating to, this location marker package breaks and prevents the upgrade.

tlserver commented 1 year ago

Nothing broke with FMLM v5.3.0 and FM v4 0.0-dev.1 when I tested last week. No code of FMLM need to be changed to support FM v4 but only pubspec.yaml, so I am not planning to upload a dev version of FMLM. But you can use dependency_overrides to bypass the version constrain, for example:

dependencies:
  flutter_map: ^4.0.0-dev.1
  flutter_map_location_marker: ^5.3.0

dependency_overrides:
  flutter_map: ^4.0.0-dev.1