mapbox / mapbox/mapbox-maps-flutter

map movement feels heavy

Open
#610 0 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Dart
Stars
380
Forks
204
PR merge metrics
No merged PRs in 30d

Description

On the example app the movement on the app feels smooth and Google Maps like:
![Simulator Screen Recording - iPhone 15 Pro Max - 2024-07-06 at 17 53 52](https://github.com/mapbox/mapbox-maps-flutter/assets/61833464/e30d0b0e-57dd-4fea-9341-b22ea965f699)

Whereas when I try it in my project if feels very heavy (i.e. as soon as I leave the thumb from the screen the movement stops instead of sliding forward) and buggy (i.e. sometimes it shoots forward at crazy speed).
Screenshot 2024-07-06 alle 17 46 28

![Simulator Screen Recording - iPhone 15 Pro Max - 2024-07-06 at 17 45 54](https://github.com/mapbox/mapbox-maps-flutter/assets/61833464/f34624c3-b11a-456c-9477-dc1d0358d8de)

To me it happens both on mobile/simulator and ios/android.
I'm using version 2.0.0

`[✓] Flutter (Channel stable, 3.22.1, on macOS 14.5 23F79 darwin-arm64, locale it-IT)
• Flutter version 3.22.1 on channel stable at /Users/albertonoris/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision a14f74ff3a (6 weeks ago), 2024-05-22 11:08:21 -0500
• Engine revision 55eae6864b
• Dart version 3.4.1
• DevTools version 2.34.3

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
• Android SDK at /Users/albertonoris/Library/Android/sdk
• Platform android-34, build-tools 34.0.0
• Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)
• All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 15C500b
• CocoaPods version 1.15.2

[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2023.2)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)

[✓] VS Code (version 1.84.2)
• VS Code at /Users/albertonoris/Downloads/Visual Studio Code.app/Contents
• Flutter extension version 3.90.0

[✓] Connected device (4 available)
• iPhone 15 Pro Max (mobile) • 34C23508-C39E-49AC-9D45-22C339A5DA25 • ios • com.apple.CoreSimulator.SimRuntime.iOS-17-2 (simulator)
• macOS (desktop) • macos • darwin-arm64 • macOS 14.5 23F79 darwin-arm64
• Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin • macOS 14.5 23F79 darwin-arm64
• Chrome (web) • chrome • web-javascript • Google Chrome 126.0.6478.127
! Error: iPad di Alberto is not available because it is unpaired. Pair with the device in the Xcode Devices Window, and respond to any pairing prompts on the
device. (code -29)

[✓] Network resources
• All expected network resources are available.

• No issues found!`

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the movement difference in the example app and the reporter's project using mapbox-maps-flutter 2.0.0, testing the listed iOS simulator and Android environments. Compare the interaction behavior and configuration between the two setups; done means the cause of stopped or unexpectedly accelerated movement is identified and movement behaves consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.