Skip to content
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

interact with map async after map has loaded #46

Open
jfreeland opened this issue Jul 13, 2020 · 0 comments
Open

interact with map async after map has loaded #46

jfreeland opened this issue Jul 13, 2020 · 0 comments

Comments

@jfreeland
Copy link

It's probably at least in part because I'm new to flutter and flutter_google_maps but after a bit of reading through the code and examples I wasn't able to find the best way to run a separate function, without user interaction, after the map has loaded. For example, to load a dynamic list of markers from http.

If this is possible it might be handy to update the example or add a new one showing reading a couple markers from a separate file and adding the new markers dynamically.

For instance, google_maps_flutter has an onMapCreated field where you can specify the next function to run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant