Class LocationDisplay
Defines how location is displayed on a MapView.
Implements
Namespace: Esri.ArcGISRuntime.UI
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class LocationDisplay : INotifyPropertyChanged
Remarks
Location Display requires the Location Capability for the app to be enabled.
Properties
Name | Description |
---|---|
AccuracySymbol | Gets or sets the fill symbol indicating how accurate the current location is |
AcquiringSymbol | Gets or sets the symbol shown while the location is being acquired |
AutoPanMode | Gets or sets the auto pan mode which determines how location changes affect the current viewpoint. |
CourseSymbol | Gets or sets the symbol when moving. The symbol is rotated with the heading of the movement. |
DataSource | Gets or sets the location data source used for generating location updates. |
DefaultSymbol | Gets or sets the symbol used for location when not moving. |
Heading | Gets the heading of the current location |
HeadingSymbol | Gets or sets the symbol shown in compass mode. The symbol is rotated with the heading of the compass. |
InitialZoomScale | Gets or sets the initial zoom scale |
IsEnabled | Gets or sets a value indicating whether the location display and its datasource are enabled. |
Location | Gets the most recent location reported by the location data source. |
MapLocation | Gets the map position of the most recent location reported by the location data source in the projection of the current map view |
NavigationPointHeightFactor | Gets or sets the navigation point height factor. |
Opacity | Gets or sets the opacity to apply to the location symbols |
PingAnimationSymbol | Gets or sets the ping animation symbol |
ShowAccuracy | Gets or sets a value indicating whether to display the accuracy of the current location. |
ShowLocation | Gets or sets a value indicating whether the location is shown on the MapView this instance is associated with. |
ShowPingAnimationSymbol | Gets or sets a value indicating whether the ping animation is shown. |
Started | Gets a value indicating whether updating of the location is active or not. |
UseCourseSymbolOnMovement | Gets or sets a value indicating whether to use the course symbol when moving. |
WanderExtentFactor | Gets or sets the proportion of the current extent within which the location can be without automatically panning the map. Valid range is between 0 (continuous panning) and 1 (only pan when the location reaches the edge of the current extent. Only applies when AutoPanMode is set to Recenter. |
Events
Name | Description |
---|---|
AutoPanModeChanged | Occurs when the AutoPanMode changes |
LocationChanged | Occurs when the location changes |
PropertyChanged | Occurs when a property value changes |
StatusChanged | Occurs when the status of the location changes |
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.0 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 100.15 |