Skip to content

feat: handle gestures in flutter - #417

Draft
josxha wants to merge 27 commits into
mainfrom
feat/handle-gestures-in-flutter
Draft

feat: handle gestures in flutter#417
josxha wants to merge 27 commits into
mainfrom
feat/handle-gestures-in-flutter

Conversation

@josxha

@josxha josxha commented Nov 26, 2025

Copy link
Copy Markdown
Owner

Rationale

Handling the gestures in flutter gives some nice benefits and moves the package one step further away from just providing bindings in favor of creating a complete and consistent experience.

  • drag of map annotations
  • consistent cross platform experience
  • macos support using platform views
  • better integration with other gestures detected by flutter, e.g. on markers
  • pave the way for a better test coverage

Gestures

Pan

  • single pointer
  • two pointer
  • keyboard arrow keys

Zoom

  • scroll wheel zoom
  • double click
  • double click drag
  • click with two pointers: use pointer center
  • two pointer: use pointer center

Rotate

  • secondary pointer
  • two pointers: rotate around pointer center
  • ctrl key and pan

Tilt

  • secondary pointer
  • ctrl key and pan
  • two pointer vertial pan

Other

  • integrate with MapOptions gestures property
  • disable browser context menu on web
  • adjust with globe view on web
  • adjust rotation logic when map is tilted
  • update event system on web
  • update event system on android
  • update event system on ios

@josxha josxha added this to the v0.4.0 milestone Nov 26, 2025
@github-project-automation github-project-automation Bot moved this to Backlog in maplibre dev Nov 26, 2025
@codecov

codecov Bot commented Nov 26, 2025

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 313 lines in your changes missing coverage. Please review.
✅ Project coverage is 23.70%. Comparing base (2b3f46c) to head (04bf6ba).

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 26, 2025

Copy link
Copy Markdown

Deploying flutter-maplibre with  Cloudflare Pages  Cloudflare Pages

Latest commit: 04bf6ba
Status: ✅  Deploy successful!
Preview URL: https://9d9252e6.flutter-maplibre.pages.dev
Branch Preview URL: https://feat-handle-gestures-in-flut.flutter-maplibre.pages.dev

View logs

@josxha josxha moved this from Backlog to In Progress in maplibre dev Dec 4, 2025
@josxha josxha modified the milestones: v0.4.0, v0.5.0 Dec 31, 2025
@josxha josxha mentioned this pull request Mar 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

1 participant