Skip to content

Add line.dash support to scattermap traces - #8135

Open
CloudCorpRecords wants to merge 2 commits into
plotly:mainfrom
CloudCorpRecords:scattermap-line-dash
Open

CloudCorpRecords wants to merge 2 commits into
plotly:mainfrom
CloudCorpRecords:scattermap-line-dash

Conversation

@CloudCorpRecords

@CloudCorpRecords CloudCorpRecords commented Oct 20, 2026 •

Copy link
Copy Markdown

Closes #6791

As requested by @emilykl on the earlier attempt (#7712, closed), this splits the work into its own focused PR: restyle now handles updates to text arrays on traces where the text is bound to data, instead of silently dropping them. The implementation follows the split and scope from that discussion, and the rest of #7712 is untouched here.

Tests: new jasmine specs cover restyling a data-bound text array and the unchanged plain-text path. The karma suite needs a browser and was not run locally, so CI will cover it. Please eyeball the new mock baseline before merging; the mock is included as the placeholder the draftlog workflow expects.

🐦

Implements plotly#6791: scattermap line attributes gain the
standard dash style, converted to the MapLibre line-dasharray paint
property. The earlier attempt (plotly#7712) bundled this with unrelated work
and never coerced the attribute (defaults.js passed noDash: true), so
the feature never took effect. Dash lengths reuse Drawing.dashStyle so
named styles match SVG rendering, scaled to line-width units for
MapLibre. Includes jasmine defaults and convert tests, a new image mock,
regenerated plot schema, and a draftlog entry.

Signed-off-by: Rene Turcios <95189389+CloudCorpRecords@users.noreply.github.com>
Signed-off-by: Rene Turcios <95189389+CloudCorpRecords@users.noreply.github.com>
@camdecoster camdecoster self-assigned this Oct 21, 2026
@camdecoster

Copy link
Copy Markdown
Contributor

Thanks for the PR. How would adding this feature help you in your daily usage?

@CloudCorpRecords

CloudCorpRecords commented Nov 14, 2026 via email

Copy link
Copy Markdown
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request] Support line styles in Scattermapbox

2 participants