Class Compass
The Compass Control showing the heading on the map when the rotation is not North up / 0.
Inheritance
Compass
Implements
Namespace: Esri.ArcGISRuntime.Toolkit.Maui
Assembly: Esri.ArcGISRuntime.Toolkit.Maui.dll
Syntax
public class Compass : TemplatedView, INotifyPropertyChanged, IEffectControlProvider, IToolTipElement, IContextFlyoutElement, IAnimatable, IViewController, IVisualElementController, IElementController, IGestureController, IGestureRecognizers, IPropertyMapperView, IHotReloadableView, IReplaceableView, ILayout, ILayoutController, IVisualTreeElement, IContentView, IPadding, ICrossPlatformLayout, ICompass, IView, IElement, ITransform
Constructors
| Name | Description |
|---|---|
| Compass() | Initializes a new instance of the Compass class. |
Fields
| Name | Description |
|---|---|
| AutoHideProperty | Identifies the AutoHide bindable property. |
| GeoViewProperty | Identifies the GeoView Dependency Property. |
| HeadingProperty | Identifies the Heading bindable property. |
Properties
| Name | Description |
|---|---|
| AutoHide | Gets or sets a value indicating whether to auto-hide the control when Heading is 0. |
| GeoView | Gets or sets the GeoView property that can be attached to a Compass control to accurately set the heading, instead of setting the Heading property directly. |
| Heading | Gets or sets the Heading for the compass. |
Methods
| Name | Description |
|---|---|
| OnApplyTemplate() |