-
Notifications
You must be signed in to change notification settings - Fork 503
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
onStyleLoadedCallback fires (n - 1) times the map has been loaded #373
Comments
@JoelGG Thank you for the report. On what platform (android/iOS/web) and with which flutter and plugin version does this happen? |
@m0nac0 thank you for your reply. This is on iOS and with the latest version of flutter-mapbox-gl available on pub. |
@m0nac0 I also have very little iOS experience. |
@m0nac0 could this be related? Was closed recently and probably is not yet updated in Flutter version: mapbox/mapbox-gl-native-ios#172 |
This seems to still be an issue on a real device. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Hopefully all style loading issues were resolved in latest PRs |
I currently need to navigate to a page containing a
MapboxMap
, and as suggested in the documentation I'm usingonStyleLoadedCallback
to generate and add all annotations for the map. Unfortunately I have noticed that on first loadonStyleLoadedCallback
does not fire, and on every subsequent navigation to the map it fires n times for however many times I have navigated to it (after the first navigation to it)The text was updated successfully, but these errors were encountered: