visgl / visgl/deck.gl

[Bug] PathStyleExtension offset affects rounded caps

Open
#8,067 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
14.6k
Forks
2.3k
Avg merge
2d 9h
Merged PRs (30d)
42

Description

Description

Paths in a GoogleMapsOverlay with PathStyleExtension({ offset: true }) are no longer rendering rounded caps correctly.

image
Flavors
  • Script tag
  • React
  • Python/Jupyter notebook
  • MapboxOverlay
  • GoogleMapsOverlay
  • CartoLayer
  • ArcGIS
Expected Behavior

Expect that the rendering of rounded caps is unaffected by applying an offset.

Steps to Reproduce

https://codepen.io/merenzo/pen/abPzaNL

Environment
  • Framework version: 8.9.25
  • Browser: Chrome 115
  • OS: Windows 10
Logs

No response

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 linked CodePen reproduction and inspect PathStyleExtension({ offset: true }) as used through GoogleMapsOverlay. Trace the rendering behavior for rounded caps with the offset enabled, then verify that the reproduction shows unchanged caps. No repository file or test is named, so locating the relevant extension entry point and coverage will be part of the investigation.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
computer-graphics, data-visualization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.