google_maps_place_picker
google_maps_place_picker copied to clipboard
ios autocomplete select option
Hey
Everything working fine both android and ios .but In Ios when i search something on search bar and select autocomplete option,pin(marker) shows perfact location but the address text is not changing its shows only loading in real iphone and simulator both
There is already a post about this. Best is, when you use the selectedPlaceWidgetBuilder.
selectedPlaceWidgetBuilder: (builderContext, selectedPlace, state, isSearchBarFocused) { print(state); if (selectedPlace != null) { state = SearchingState.Idle; } ....
There you have to set the state to IDLE when selectedPlace is not null. The if statement is needed to avoid a render error when loading the map...
I hope this helps...
Thanks @daverupp My ios loadding problem solved!! but In Ios when i search something on search bar and select autocomplete option,pin(marker) shows perfact location but the address text is not changing in real iphone and simulator both