Share via


Map.UserLocationChanged Event

Definition

Occurs when the user's location is updated on the map.

public:
 event EventHandler<Microsoft::Maui::Controls::Maps::UserLocationChangedEventArgs ^> ^ UserLocationChanged;
public event EventHandler<Microsoft.Maui.Controls.Maps.UserLocationChangedEventArgs>? UserLocationChanged;
member this.UserLocationChanged : EventHandler<Microsoft.Maui.Controls.Maps.UserLocationChangedEventArgs> 
Public Event UserLocationChanged As EventHandler(Of UserLocationChangedEventArgs) 

Event Type

Remarks

This event fires when the platform map handler reports a location update. The handler only sends updates when IsShowingUser is set to true and location permissions have been granted.

Applies to