Map.UserLocationChanged Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.