react-simple-maps icon indicating copy to clipboard operation
react-simple-maps copied to clipboard

Interpolate center values (projectionConfig)

Open DedaDev opened this issue 10 months ago • 0 comments

I want to change the center of the map with a button click, but I want the projection to move smoothly. If I put lat and lng values in a state and change those values in some interval, I'll end up with 50 renders / second which will kill my app. Is there any better way to do it?

DedaDev avatar Jan 15 '25 13:01 DedaDev