plotly / plotly/plotly.js

Expose MapLibre compass and scale bar

Open
#5,295 2 comments 22 reactions 0 assignees View on GitHub

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

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.