ibrierley / flutter_map_dragmarker

A drag marker for flutter_map
BSD 3-Clause "New" or "Revised" License
54 stars 37 forks source link

Support for flutter_map 7.0.0 #45

Closed ARASHz4 closed 3 months ago

ARASHz4 commented 6 months ago

Not compatible with flutter_map v7.0.0

PHKenny commented 6 months ago

You can add this in your pubspec.yaml to temporally support the latest changes in this library, supported in flutter_map 7.0.0 (I tested)

dependency_overrides:
  flutter_map_dragmarker:
    git:
      url: https://github.com/ibrierley/flutter_map_dragmarker
      ref: master # You can change this reference to a specific commit if you want to prevent unwanted upgrades

Of course that isn't a production solution, but for temporal use until the library reaches the latest version with flutter_map 7 support.

ibrierley commented 6 months ago

Apologies, I haven't been following flutter_map closely recently...if someone wants to do a PR, I'll give it a test and check all is ok (or is it literally just a version change and nothing else that should affect dragmarker?)

PHKenny commented 6 months ago

@ibrierley flutter_map says that v7 is pain free upgrade, so theoretically nothing should be broken.

Also, on my own I tested your example project (branch master) and works perfectly, in my implementations also works perfectly. The only thing that you should change is the flutter_map version to ^7.0.0