Use com.google.android.gms.location.FusedLocationProviderApi if you need to obtain the
user's current location. Use RoadSnappedLocationProvider if you need to obtain the user's
current location, snapped to the road network.
Returns
true if the listener has consumed the event (i.e., the default behavior
should not occur); false otherwise (i.e., the default behavior should occur). The
default behavior is for the camera move such that it is centered on the user location.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-17 UTC."],[[["`GoogleMap.OnMyLocationButtonClickListener` is an interface used to handle clicks on the \"My Location\" button within a Google Map."],["The primary method, `onMyLocationButtonClick()`, is called when the button is clicked and allows custom actions before the default camera centering on the user's location."],["Returning `true` from `onMyLocationButtonClick()` prevents the default camera movement, while returning `false` allows it."],["For obtaining the user's location, it's recommended to use `FusedLocationProviderApi` or `RoadSnappedLocationProvider` for road-snapped locations."]]],[]]