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
useCurrentLocation but it does not pop the address on default #21
Comments
Hi, @newbieflutter Can you specify more detail about what exactly you want to achieve, please? |
Hi,
|
Hi, @newbieflutter I followed your steps and the current location button was performing as intended (it goes immediately). I don't know why is the issue happening in your end. There are two ways you can control about 'myLocationButton'.
However, there is no feature for hiding autocomplete searching bar as it is one of the core function for the package. Please let me know if there is a further issue. |
Hi , |
If so, the locator package is for: |
Hi,
|
|
Hi, |
Okay, now I got what you are trying to achieve. It only happens when 'my location button' zooms in. By default, the searching is not triggered when zoom has changed. This is because my primary goal is to reduce API usage as possible as I can, and thus I do not want a user to get search result when they only zoom in/out on the same place (position). So, in order to achieve what you want, searching must be allowed even when a user tries to zoom in/out. Therefore, I just added [forceSearchOnZoomChanged] option so that you can set to TRUE if you want my location button to trigger place search every time. But please bear in mind that this will also consume searching API when a user just zoom in/out on the same position Update to 0.9.1 version when it is up to pub |
Hi,
Hope I am more clearer and now easier to see the issue now. |
Have you tried what I told you? I can see the zoom has been changed in your 2nd photo. That is the reason searching is not performing. Please update to 0.9.1 and set ‘forceSearchOnZoomChanged’ to true. I am pretty sure it will work. |
Hi,
Here is my settings. u```
|
where is forceSearchOnZoomChanged setting? |
Hi, |
Closing as the issue has been solved. |
Hi,
I have tried to move the map to different location from the current pin location. Then at time I press the current location icon it goes fast and stick there. At time I got press few times before it returns there? Is there any settings to control it?
The text was updated successfully, but these errors were encountered: