visgl / visgl/deck.gl

[Bug] PathStyleExtension offset affects antialiasing

Open
#8,063 2 comments 1 reaction 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 correctly antialiased.

image

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

Expect that antialiasing is unaffected by applying an offset.

Steps to Reproduce

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

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 using GoogleMapsOverlay and PathStyleExtension({ offset: true }), then trace the overlay and path rendering entry points involved in antialiasing. Done means paths retain normal antialiasing when the offset is enabled, matching the expected behavior.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.