-
Notifications
You must be signed in to change notification settings - Fork 913
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
Map.clear() do not fires callback function on Android (but on iOS fires) #1669
Comments
Did you try the latest version? |
Yes, i tried run the same JS code with e66cd25 but still fails to call callback function of map.clear(). And as a side effect after calling map.clear() no more markers can be added to the map. Calling method Last commit that works form me (map.clear() fires callback and markers can be added then is 20c6b30). I'll do some more testing with simple app - maybe some specific use of maps plugin in my project cause this behavior... |
I finally figured out the bug. Please reinstall the latest version. |
It works now with your latest commit. Thank you for the fix. |
I'm submitting a ... (check one with "x")
[ ] question
[x] any problem or bug report
[ ] feature request
The plugin version: (check one with "x")
[ ] 1.4.x
[x] 2.0.0-beta3 (commit 57287b3)
If you choose 'problem or bug report', please select OS: (check one with "x")
[x] Android
[ ] iOS
cordova information:
Current behavior:
Clear method of Map class do not call callback function on Android.
Expected behavior:
Clear method of Map class should call callback function on Android.
Steps to reproduce:
alert('map clear callback fn')
is not called.The text was updated successfully, but these errors were encountered: