mapbox / mapbox/mapbox-plugins-android

Bounding box restriction plugin

Open
#692 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

plugin request
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

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.