Heres my gist. On componentWillUnmount, I try to remove an interaction, but it doesnt remove https://gist.github.com/columnistdc/b5a29b8996d1152f57c8dc1cd6caaf61
答案 0 :(得分:1)
Gist is deleted.
If you cannot remove an interaction through map.removeInteraction(interaction)
, you can try map.getInteractions().pop()
Very strange decision