mapbox / mapbox/mapbox-gl-js

[customer feedback] Suggestion to add event to dynamically change position of popup

Open
#11,440 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Product feedback issue for the GL JS team to triage. :wave:

Sentry Issue: [DOCS-FEEDBACK-56V](https://sentry.io/organizations/mapboxcom/issues/2961823747/?referrer=github_integration)

```
It will be very cool if you add an event to dynamically change the position of the popup 'top,left,bottom,right'

This will add the ability to correctly position the popup with offset
```

* page: https://docs.mapbox.com/mapbox-gl-js/api/markers/
* site: Mapbox GL JS
* section: Popup
* helpful: False

*This feedback was submitted by a user through the feedback widget. Please close if this issue is not actionable given the provided details.*

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 with the Popup section of the Mapbox GL JS markers documentation at the linked page and review how popup position and offset are currently described. Clarify the desired event and behavior before implementation; the issue is complete only when the requested dynamic positioning is specified and its supported behavior is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.