mapbox / mapbox/mapbox-maps-ios
Disable long press gesture on map
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 601
- Forks
- 196
- PR merge metrics
- No merged PRs in 30d
Description
## New Feature
There's no way to disable long press gestures on a map. And a long press gesture is not apart of the [set of gestures](https://github.com/mapbox/mapbox-maps-ios/blob/main/Sources/MapboxMaps/Gestures/GestureType.swift) you can control
## Why
This is intrusive because once a long press gesture registers, it pauses all the other gestures. The user should be able to control this behavior.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with Sources/MapboxMaps/Gestures/GestureType.swift and trace how the map's gestures are configured. Determine where long-press handling is registered and how it interacts with other gestures. Done means users can disable long press independently while retaining control of the existing gesture set.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- mobile-dev
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100