userLocationButtonEnabled property

bool userLocationButtonEnabled
final

show the User Location button for this map.

when the user click on this button, the location permissions are checked and requested if not granted, then a user location annotation is displayed on the map by default this option is enabled

Implementation

final bool userLocationButtonEnabled;