We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Map.cleare() method does not remove the event listener that the removed object.
For example:
marker.on(plugin.google.maps.event.MARKER_CLICK, function() { alert("clicked 1"); });
then remove the marker using map.clear().
map.clear()
map.clear();
After that, add a marker again.
marker.on(plugin.google.maps.event.MARKER_CLICK, function() { alert("clicked 2"); });
You will get "clicked 1" and "clicked 2".
The text was updated successfully, but these errors were encountered:
(Android) Bug fix #133: Map.clear() does not remove the event listener
84730e9
Bug fix #133: Map.clear() does not remove the event listener
dff8985
baf19c1
43ac5a5
No branches or pull requests
Map.cleare() method does not remove the event listener that the removed object.
For example:
then remove the marker using
map.clear()
.After that, add a marker again.
You will get "clicked 1" and "clicked 2".
The text was updated successfully, but these errors were encountered: