Reputation: 71
Heres my gist. On componentWillUnmount, I try to remove an interaction, but it doesnt remove https://gist.github.com/columnistdc/b5a29b8996d1152f57c8dc1cd6caaf61
Upvotes: 2
Views: 9354
Reputation: 71
Gist is deleted.
If you cannot remove an interaction through map.removeInteraction(interaction)
, you can try map.getInteractions().pop()
Very strange decision
Upvotes: 4