Expose MapLibre compass and scale bar
Open
Nobody has claimed this yet.
feature
P3
- Dominant language
- JavaScript
- Stars
- 18.3k
- Forks
- 2k
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 28
Description
We should expose attributes to turn on the north arrow and scale bar in Mapbox subplots: https://docs.mapbox.com/mapbox-gl-js/api/markers/#navigationcontrol and https://docs.mapbox.com/mapbox-gl-js/api/markers/#scalecontrol ... seems similar to when we added attribution ?
cc @alexcjohnson
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the attribution change in PR 4069 and the Mapbox subplot integration, then consult the linked Mapbox GL JS NavigationControl and ScaleControl documentation. Done means exposing attributes that let users enable the north arrow and scale bar in MapLibre or Mapbox subplots.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- data-visualization
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100