resium
resium copied to clipboard
change event in camera is not triggered sometimes
I am using nextjs + resium in both latest versions. I found change event is not triggered sometimes, so I cannot display current lon/lat and height to users.
When I am editing code, the onChange is triggered. But after I reload the page, it's not triggered. I guess the function is only registered during HMR.
I've written a demo in vite. Please help, thanks a lot.
Demo: https://codesandbox.io/p/devbox/83ky2j