mapbox / mapbox/mapbox-gl-js

Draw box zoom in map perspective

Open
#1,345 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

feature :green_apple:
Dominant language
TypeScript
Stars
12.4k
Forks
2.4k
PR merge metrics
No merged PRs in 30d

Description

When the pitch is non-zero, the box zoom gesture should cause a box to be drawn on the plane of the tilted map, rather than the plane of the screen. Hit testing should also be consistent with the map plane.

![tilted box zoom](https://cloud.githubusercontent.com/assets/1231218/8390483/2ba56714-1c4c-11e5-8a60-6aa8f4ed8ff6.png)
_How do I box-zoom Colorado while tilted? Should I start from the northwest corner as projected in tilt mode?_

/cc @kelvinabrokwa

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

Reproduce the box-zoom gesture with a non-zero map pitch and compare the drawn box and hit testing against the tilted map plane. Trace the box-zoom and hit-testing entry points, then verify that both use the map plane consistently and that tilted Colorado can be selected as described.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
computer-graphics, frontend, web-dev
Issue type
Bug
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.