visgl / visgl/react-map-gl

[Bug] Changing projections - Maximum call stack size exceeded

Open
#2,566 3 comments 6 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
8.5k
Forks
1.4k
Avg merge
5d 17h
Merged PRs (30d)
3

Description

Description

React-map-gl throws an unhandled exception when changing projections. It looks like the error is in proxy-transform.ts.

Expected Behavior

The map should not fail when changing projections.

Steps to Reproduce

To reproduce, add a map to the page and change the projection.

Environment
  • Framework version: latest
  • Map library: latest
  • Browser: chrome
  • OS: MacOS
Logs
Image

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 inspecting proxy-transform.ts and reproduce the issue with a map whose projection is changed in Chrome. Trace the maximum call stack error to its source and verify that changing projections no longer produces an unhandled exception.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.