mapbox / mapbox/mapbox-maps-android

Is it possible to retrieve the NE and SW coordinates of a drawable square?

Open
#2,162 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

auto-triaged question
Dominant language
Kotlin
Stars
578
Forks
161
PR merge metrics
No merged PRs in 30d

Description

Hello, I'm looking to draw a square around the map camera center and retrieve its NE and SW points, like this:

5fce57f2e18dd44351e2fd51_videoplayback original-poster-00001_resized (1)

5fce57f2e18dd44351e2fd51_videoplayback original-poster-00001_resized (2)

I can already retrieve the camera center position. Please note that zooming in or out should not affect the square's size. Thanks.

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 reviewing how the map camera center and drawable square are represented in the Android map API. Determine whether the requested NE and SW coordinates can be derived while keeping the square's screen size unchanged during zooming. The issue names no source file or test, so the relevant entry point and completion checks still need to be identified.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.