Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interact listeners should be removed #9

Open
gpsfl opened this issue Sep 30, 2024 · 0 comments
Open

Interact listeners should be removed #9

gpsfl opened this issue Sep 30, 2024 · 0 comments

Comments

@gpsfl
Copy link

gpsfl commented Sep 30, 2024

Interact.js listeners are not removed when the pegman is removed from the map.

It should be removed in the onRemove method using:

interact(this._pegman).unset();
interact(this._map._container).unset();
interact(this._container).unset();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant