fysoul17 / google_maps_place_picker

Place picker on Google Maps for Flutter
MIT License
222 stars 357 forks source link

the map dose not load for tab #46

Closed bilalhassanqadri closed 4 years ago

bilalhassanqadri commented 4 years ago

i have tested the map dose not load on tab and only browse

fysoul17 commented 4 years ago

Can you use the bug report template, please? I don't quite understand what your issue is.

bilalhassanqadri commented 4 years ago

Issue description

when i open the application in start i turn on the card to true the card appear fine

image

in the app bar there is search box when i click on search box the matching string appear

image

until now the application is fine but when user click on close down button see the image

image

the card disappear

image

bilalhassanqadri commented 4 years ago

is the explanation is enough ? can you please tell me how to fix this or can you fix this ?

fysoul17 commented 4 years ago

Great, now I got what your issue is.

However, hiding the card on the keyboard shown is intended. Otherwise, the card will be floating above the keyboard. So, the answer is no. Currently, there is no way to re-display the card when the keyboard is hidden with the arrow.

bilalhassanqadri commented 4 years ago

Thanks for your explanation but can you tell me how how to show the card on close also no matter the card floating above the keyboard.

fysoul17 commented 4 years ago

If you are about to fork the project and modify on your side, you may want to have a look at _buildFloatingCard function in 'google_map_place_picker.dart' file.

bilalhassanqadri commented 4 years ago

Thank you for explanation can u tell Me how can i call The function i mean function is creating the card so what i am thinkiNg that when the keyboard close i will Call that function again

bilalhassanqadri commented 4 years ago

I have also found one more issue and that zoom when. Zoom in the map the ping move but card address not get the current pin adress

fysoul17 commented 4 years ago

You can find information about how the zoom works on ReadMe.

In order to prevent unnecessary API calls, we do not count zoom change by default. There is an explanation about how you can unlock this feature in the document.

[forceSearchOnZoomChanged] parameter is what you want to have a look for the zoom issue.

fysoul17 commented 4 years ago

Closing as a zoom issue is not related to the current issue.

bilalhassanqadri commented 4 years ago

Can u please explain this question?

Thank you for explanation can u tell Me how can i call The function i mean function is creating the card so what i am thinkiNg that when the keyboard close i will Call that function again

fysoul17 commented 4 years ago

There is no way to achieve your goal without forking this project currently.

In order to modify the project, you need to fork this project, then modify the function that I specified.

bilalhassanqadri commented 4 years ago

okay thank you i will try my own

when i use tab and run the project the map not appears and that is for tab

image