I'm looking at different map options and while scanning through the code I noticed a potential issue in the cleanup function of RLayer.tsx on this line:
This appears to be adding event listeners (map.on) in the cleanup function, when it should likely be removing them (map.off). I suggest changing it to:
Hi @lhapaipai ,
I'm looking at different map options and while scanning through the code I noticed a potential issue in the cleanup function of RLayer.tsx on this line:
This appears to be adding event listeners (map.on) in the cleanup function, when it should likely be removing them (map.off). I suggest changing it to:
I haven't test things out, so please correct me if I'm wrong. :)