You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm submitting a ... (check one with "x")
[x] bug report
[ ] feature request
Current behavior:
When I use the map.clear() method, it should work as a promise (like the Ionic documentation https://ionicframework.com/docs/native/google-maps/#clear).
But when I use map.clear().then(() => { /*do something*/ }) I got this error:
Error: Uncaught (in promise): TypeError: Cannot read property 'then' of undefined
Expected behavior:
The map.clear().then(() => { /*do something*/ }) works.
The text was updated successfully, but these errors were encountered:
I'm submitting a ... (check one with "x")
[x] bug report
[ ] feature request
Current behavior:
When I use the
map.clear()
method, it should work as a promise (like the Ionic documentation https://ionicframework.com/docs/native/google-maps/#clear).But when I use
map.clear().then(() => { /*do something*/ })
I got this error:Error: Uncaught (in promise): TypeError: Cannot read property 'then' of undefined
Expected behavior:
The
map.clear().then(() => { /*do something*/ })
works.The text was updated successfully, but these errors were encountered: