albert-heijn-technology / platform_maps_flutter

A Flutter package to provide the native maps to Android/iOS
BSD 2-Clause "Simplified" License
80 stars 64 forks source link

onDragEnd not fired on apple maps #43

Open yspreen opened 3 years ago

yspreen commented 3 years ago

Describe the bug On apple maps, onDragEnd is not fired. I tried consumeTapEvents true and false, no change.

To Reproduce

        Marker(
          markerId: MarkerId('marker_${e.uuid}'),
          position: e.position.latLng,
          draggable: true,
          onDragEnd: _mapTap,
          // consumeTapEvents: true,
        ),
  1. hold down marker
  2. move it around
  3. let go
  4. event is not fired

Expected behavior _mapTap should be called but isnt

Screenshots

Smartphone (please complete the following information):

flutter doctor Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel stable, 2.5.0, on macOS 11.4 20F71 darwin-x64, locale en-US) [✗] Android toolchain - develop for Android devices ✗ Unable to locate Android SDK. Install Android Studio from: https://developer.android.com/studio/index.html On first launch it will assist you in installing the Android SDK components. (or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions). If the Android SDK has been installed to a custom location, please use flutter config --android-sdk to update to that location.

[✓] Xcode - develop for iOS and macOS [✓] Chrome - develop for the web [!] Android Studio (not installed) [✓] VS Code (version 1.60.1) [✓] Connected device (2 available) ! Error: i is busy: Copying cache files from device. Xcode will continue when i is finished. (code -10)

! Doctor found issues in 2 categories.

dafarias commented 2 years ago

Hello! I'm actually using this feature, and I can confirm that is not working correctly on iOS. Is there something I can do to help you with this issue? I'd like to contribute to this repo, if possible.