Doug
 · Founder at Reffo

Google Maps Error

  1. I create a view that has a google map centered on a predefined LatLng in my App State var. < works

  2. I then change it based on a google places search (top left). < works

  3. I then hide the map. < works

  4. I change the LatLng App State var < works

  5. I then turn the map back on exactly as I did in the first step < *** Error (image 3) *** Maps cannot be retrieved before calling buildView!

  6. If I then try to do a google places search (which updates the App State var) < *** Error (image 2) *** "Bad state: Future already completed.

Any ideas here? I'm not sure why this is occurring consistently. Image 1 for context...

Found a GIT question that was last touched in Jan of 23'...
https://github.com/FlutterFlow/flutterflow-issues/issues/1663

2
8 replies