Show / Hide Table of Contents

Class Compass

The Compass Control showing the heading on the map when the rotation is not North up / 0.

Inheritance
Object
Compass
Implements
ICompass
IView
Namespace: Esri.ArcGISRuntime.Toolkit.Maui
Assembly: Esri.ArcGISRuntime.Toolkit.Maui.dll
Syntax
public class Compass : TemplatedView, ICompass

Constructors

| Improve this Doc View Source

Compass()

Initializes a new instance of the Compass class.

Declaration
public Compass()

Fields

| Improve this Doc View Source

AutoHideProperty

Identifies the AutoHide bindable property.

Declaration
public static readonly BindableProperty AutoHideProperty
Field Value
Type Description
BindableProperty
| Improve this Doc View Source

GeoViewProperty

Identifies the GeoView Dependency Property.

Declaration
public static readonly BindableProperty GeoViewProperty
Field Value
Type Description
BindableProperty
| Improve this Doc View Source

HeadingProperty

Identifies the Heading bindable property.

Declaration
public static readonly BindableProperty HeadingProperty
Field Value
Type Description
BindableProperty

Properties

| Improve this Doc View Source

AutoHide

Gets or sets a value indicating whether to auto-hide the control when Heading is 0.

Declaration
public bool AutoHide { get; set; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

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.

Declaration
public GeoView? GeoView { get; set; }
Property Value
Type Description
Nullable<GeoView>
| Improve this Doc View Source

Heading

Gets or sets the Heading for the compass.

Declaration
public double Heading { get; set; }
Property Value
Type Description
Double

Methods

| Improve this Doc View Source

OnApplyTemplate()

Declaration
protected override void OnApplyTemplate()

Implements

ICompass
IView
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX