mapbox / mapbox/mapbox-plugins-android
Bounding box restriction plugin
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 242
- Forks
- 116
- PR merge metrics
- No merged PRs in 30d
Description
Capturing upstream from https://github.com/mapbox/mapbox-gl-native/issues/10302:
Currently, the Android Maps SDK has two options for restricting map panning: disable it completely, or don't allow the camera to move a single centerpoint out of view.It would be helpful to be able to restrict the camera to a bounding box as well.
We already expose a core based related feature but do not match the same behaviour as exposed on iOS. The plugin proposed here should cater the same user experience.
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
No repository files or tests are named. Start by reading the linked upstream issue and comparing the existing core-based restriction with the iOS behavior described here; done means the Android plugin provides equivalent bounding-box camera restriction behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100