Skip to main content

MapMarker Class

Definition

Assembly:Avalonia.Controls.Charts
Package:Avalonia.Controls.Charts

Represents a single marker on a map at a specific latitude/longitude.

public class MapMarker

Inheritance: object -> AvaloniaObject -> MapMarker

Constructors

NameDescription
MapMarkerNo summary available.

MapMarker Constructor

public MapMarker()

Methods

NameDescription
Bind (8 overloads)Binds a Avalonia.AvaloniaProperty to an Avalonia.Data.BindingBase. Inherited from AvaloniaObject.
CheckAccessReturns a value indicating whether the current thread is the UI thread. Inherited from AvaloniaObject.
ClearValue (4 overloads)Clears a Avalonia.AvaloniaProperty's local value. Inherited from AvaloniaObject.
CoerceValueCoerces the specified Avalonia.AvaloniaProperty. Inherited from AvaloniaObject.
EqualsCompares two objects using reference equality. Inherited from AvaloniaObject.
GetBaseValueInherited from AvaloniaObject.
GetHashCodeGets the hash code for the object. Inherited from AvaloniaObject.
GetValue (3 overloads)Gets a Avalonia.AvaloniaProperty value. Inherited from AvaloniaObject.
IsAnimatingChecks whether a Avalonia.AvaloniaProperty is animating. Inherited from AvaloniaObject.
IsSetChecks whether a Avalonia.AvaloniaProperty is set on this object. Inherited from AvaloniaObject.
SetCurrentValue (2 overloads)Sets the value of a dependency property without changing its value source. Inherited from AvaloniaObject.
SetValue (3 overloads)Sets a Avalonia.AvaloniaProperty value. Inherited from AvaloniaObject.
VerifyAccessChecks that the current thread is the UI thread and throws if not. Inherited from AvaloniaObject.

Properties

NameDescription
FillGets or sets the marker fill brush.
LabelGets or sets an optional label for the marker.
LatitudeGets or sets the latitude coordinate.
LongitudeGets or sets the longitude coordinate.
MarkerSizeGets or sets the marker size.
MarkerTypeGets or sets the marker type (Circle, Diamond, Triangle, etc.).
StrokeGets or sets the marker stroke brush.
DispatcherReturns the Avalonia.AvaloniaObject.Dispatcher that this Avalonia.AvaloniaObject is associated with. Inherited from AvaloniaObject.
ItemInherited from AvaloniaObject.

Fill Property

Gets or sets the marker fill brush.

public Avalonia.Media.IBrush Fill { get; set; }

Label Property

Gets or sets an optional label for the marker.

public string Label { get; set; }

Latitude Property

Gets or sets the latitude coordinate.

public double Latitude { get; set; }

Longitude Property

Gets or sets the longitude coordinate.

public double Longitude { get; set; }

MarkerSize Property

Gets or sets the marker size.

public double MarkerSize { get; set; }

MarkerType Property

Gets or sets the marker type (Circle, Diamond, Triangle, etc.).

public Avalonia.Controls.Charts.MapIconType MarkerType { get; set; }

Stroke Property

Gets or sets the marker stroke brush.

public Avalonia.Media.IBrush Stroke { get; set; }

Fields

FillProperty Field

Identifies the Avalonia.Controls.Charts.MapMarker.Fill Avalonia property.

public Avalonia.StyledProperty<Avalonia.Media.IBrush> FillProperty

LabelProperty Field

Identifies the Avalonia.Controls.Charts.MapMarker.Label Avalonia property.

public Avalonia.StyledProperty<string> LabelProperty

LatitudeProperty Field

Identifies the Avalonia.Controls.Charts.MapMarker.Latitude Avalonia property.

public Avalonia.StyledProperty<double> LatitudeProperty

LongitudeProperty Field

Identifies the Avalonia.Controls.Charts.MapMarker.Longitude Avalonia property.

public Avalonia.StyledProperty<double> LongitudeProperty

MarkerSizeProperty Field

Identifies the Avalonia.Controls.Charts.MapMarker.MarkerSize Avalonia property.

public Avalonia.StyledProperty<double> MarkerSizeProperty

MarkerTypeProperty Field

Identifies the Avalonia.Controls.Charts.MapMarker.MarkerType Avalonia property.

public Avalonia.StyledProperty<Avalonia.Controls.Charts.MapIconType> MarkerTypeProperty

StrokeProperty Field

Identifies the Avalonia.Controls.Charts.MapMarker.Stroke Avalonia property.

public Avalonia.StyledProperty<Avalonia.Media.IBrush> StrokeProperty

Events

NameDescription
PropertyChangedRaised when a Avalonia.AvaloniaProperty value changes on this object. Inherited from AvaloniaObject.