Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
public static Interface
GoogleMap.OnMyLocationChangeListener
Diese Benutzeroberfläche wurde eingestellt. Verwenden Sie stattdessen com.google.android.gms.location.FusedLocationProviderApi.
FusedLocationProviderApi ermöglicht eine verbesserte Standortsuche und eine verbesserte Stromnutzung und wird vom blauen Punkt „Mein Standort“ verwendet. Weitere Informationen finden Sie in der
Anleitung „Current Place auswählen“, in der die FusedLocationProviderApi verwendet wird, oder im Location Developer Guide.
Callback-Schnittstelle für den Fall, dass der Punkt/ein Chevron für „Mein Standort“ (der den Standort des Nutzers angibt) den Standort ändert.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Benötigte Informationen nicht gefunden","missingTheInformationINeed","thumb-down"],["Zu umständlich/zu viele Schritte","tooComplicatedTooManySteps","thumb-down"],["Nicht mehr aktuell","outOfDate","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Problem mit Beispielen/Code","samplesCodeIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-03-21 (UTC)."],[[["`GoogleMap.OnMyLocationChangeListener` is deprecated and developers should use `FusedLocationProviderApi` instead for better location services and power efficiency."],["`FusedLocationProviderApi` is utilized by the \"My Location\" blue dot and offers enhanced location finding capabilities."],["`GoogleMap.OnMyLocationChangeListener` provided a callback for changes in the My Location dot's position (latitude/longitude, bearing, accuracy)."],["Developers can refer to the Select Current Place tutorial and Location Developer Guide for guidance on implementing `FusedLocationProviderApi`."]]],["The `GoogleMap.OnMyLocationChangeListener` interface is deprecated in favor of `FusedLocationProviderApi`. This interface was a callback for changes in the user's location, represented by the \"My Location\" dot. Its primary function was the `onMyLocationChange(Location location)` method, triggered when the dot's location (latitude, longitude, bearing, or accuracy) changed. The method provides the new `Location` of the dot as a parameter. `FusedLocationProviderApi` is advised for improved location services.\n"]]