resium icon indicating copy to clipboard operation
resium copied to clipboard

change event in camera is not triggered sometimes

Open so2liu opened this issue 4 months ago • 0 comments

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

so2liu avatar Oct 18 '24 09:10 so2liu