keplergl / keplergl/kepler.gl

[Bug] Two polygons crossing -180/180 longitude are not shown at the same time (same layer)

Open
#2,668 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
12k
Forks
2k
Avg merge
1d 5h
Merged PRs (30d)
66

Description

**Describe the bug**
One layer with two polygons is showing only one at a time at earth-size zoom levels.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to https://kepler.gl/demo
2. Drop attached GeoJSON file [minimal-example.json](https://github.com/user-attachments/files/17147875/minimal-example.json)
3. Navigate map keeping -180/180 line at the center of screen
4. Scroll left/right

**Expected behavior**
Both polygons should be visible at the same time:
image

**Screenshots**
image
image

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by loading minimal-example.json in the kepler.gl demo and reproducing the issue with the -180/180 longitude line centered while scrolling. Trace the GeoJSON polygon rendering path to determine why only one polygon appears at earth-size zoom levels; done means both polygons remain visible together in the same layer.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data-visualization
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.