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
want to customize MyLocation Button (Google Maps) #29753
Comments
I am having the same problem The button looks different on Android and iOS. On Android it is square and in the top right corner, but on iOS it is round and in the bottom right corner. I would want to be able to define a callback when the button is pressed and be able to style and position it. Alternatively, I would just want to be able to have the map display the location without adding the button, so I could do my own button. |
The MyLocation button is created by the native Google Map and isn’t natively customizable, so there isn’t much Flutter can do about it. If you need a custom button you’d have to put a button in a |
Closing this issue since it's not in scope for the functionality of the google_maps plugin - as @timtraversy pointed out, it needs to be done as a widget on top. Please let me know if I'm mistaken and we can revisit. |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
I want to customize the MyLocation Button provided by the Google Maps, so how can I do it?
The text was updated successfully, but these errors were encountered: