I am using google_maps_flutter: ^0.0.3+3
How do I remove the default square button to center location and still keep the blue dot current position ?
If it is not possible, how to customize it ?
First of all, we need to get Google API Key from Google Cloud Console. Create one project and name as per your choice. Enable Google Map SDK for Android & iOS Platforms in Google Developers Console. You will get Google Map API Key through Credential Page.
Set following properties on GoogleMap object:
myLocationButtonEnabled: false,
myLocationEnabled: true,
Work with google_maps_flutter: ^0.5.13
As it stands this isn't possible, the only possible work around would be to design your UI so that it blocks it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With