mapbox / mapbox/mapbox-gl-js

Implicit positioning of the map for an array of coordinates

Open
#11,964 0 comments 0 reactions 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

**mapbox-gl-js version**: v2.8.2

### Question

Does Mapbox GL JS API provide "implicit positioning" similar like how Google Maps Static Image API does? That is, determine the correct center and zoom level implicitly, based on evaluation of the array of position of an array of marked pins/coordinates on the map?

### Links to related documentation

See
https://developers.google.com/maps/documentation/maps-static/start#ImplicitPositioning

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 Mapbox GL JS API and the linked Google Maps Static API implicit-positioning documentation; determine whether automatic center and zoom based on coordinate arrays is documented. Done means the help documentation clearly answers the question and points to the relevant API guidance or limitation.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.