[Bug][Jupyter Widget]Polygon shifts when moving the map
- Dominant language
- TypeScript
- Stars
- 12k
- Forks
- 2k
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 66
Description
**Describe the bug**
I encountered this problem in Jupyter, but I think it applies to the engine.
I visualize a polygon (as a one-row geopandas df). The df is originally in the following crs
```
Name: CH1903+ / LV95 + LN02 height
Axis Info [cartesian|vertical]:
- [east]: Easting (metre)
- [north]: Northing (metre)
- [up]: Gravity-related height (metre)
Area of Use:
- undefined
Datum: CH1903+
- Ellipsoid: Bessel 1841
- Prime Meridian: Greenwich
Sub CRS:
- CH1903+ / LV95
- LN02 height
```
When I drag and move the base map, the relative position of the polygon to the base map shifts. It's very easy to observe when zoomed in. The issue persists after I re-project the df to other crs such as `EPSG:3035` and `EPSG:4326`
**To Reproduce**
The GeoJSON file is uploaded (changed the extension to json, otherwise cannot upload).
[gemeinde.json](https://github.com/user-attachments/files/18375140/gemeinde.json)
Steps to reproduce the behavior:
```
gdf = gpd.read_file('path/to/gemeinde.geojson')
map = KeplerGl(height=600)
map.add_data(gdf_gem, 'gemeinde')
map
```
**Expected behavior**
I would expect the relative position between the polygon and the base map to be constant.
**Environment (please complete the following information):**
- Python version: python3
- keplergl Widget version: 0.3.6
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.