visgl / react-map-gl

React friendly API wrapper around MapboxGL JS
http://visgl.github.io/react-map-gl/
Other
7.88k stars 1.35k forks source link

[Bug] "Jumping/jagged" easeTo experience when using globe #2101

Open jehie opened 1 year ago

jehie commented 1 year ago

Description

I'm trying to replicate this https://docs.mapbox.com/mapbox-gl-js/example/globe-spin/ spinning globe example using react-map-gl, however I get this "jumping/jagged" experience, whenever the easeTo is called again every 1 second.

This does not happen with mercator projection.

Any ideas what might be wrong here?

Expected Behavior

Smoothly spinning globe.

Steps to Reproduce

Here is a Code Sandbox link: https://codesandbox.io/s/wild-resonance-4500kv (add mapbox key)

Environment

Logs

No response

artem-konevskikh commented 1 year ago

I'm also experiencing this. Is there any solution to this issue?

vjohansen commented 1 year ago

I also tried to replicate the globe spine and ended up with "Maximum call stack size exceeded". This also happens with your Code Sandbox link