mapbox-maps-flutter
mapbox-maps-flutter copied to clipboard
Map events race condition fix
What does this pull request do?
Fixes race condition in events when method call to subscribe to map events from dart side was competing with early map events. The fix is to pass event types upon map widget initialization.
What is the motivation and context behind this change?
Bugfix.
Pull request checklist:
- [ ] Add a changelog entry.
- [ ] Write tests for all new functionality. If tests were not written, please explain why.
- [ ] Add documentation comments for any added or updated public APIs.