MapMarker Class
Definition
Represents a single marker on a map at a specific latitude/longitude.
public class MapMarker
Constructors
| Name | Description |
|---|---|
| MapMarker | No summary available. |
MapMarker Constructor
public MapMarker()
Methods
| Name | Description |
|---|---|
| Bind (8 overloads) | Binds a Avalonia.AvaloniaProperty to an Avalonia.Data.BindingBase. Inherited from AvaloniaObject. |
| CheckAccess | Returns 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. |
| CoerceValue | Coerces the specified Avalonia.AvaloniaProperty. Inherited from AvaloniaObject. |
| Equals | Compares two objects using reference equality. Inherited from AvaloniaObject. |
| GetBaseValue | Inherited from AvaloniaObject. |
| GetHashCode | Gets the hash code for the object. Inherited from AvaloniaObject. |
| GetValue (3 overloads) | Gets a Avalonia.AvaloniaProperty value. Inherited from AvaloniaObject. |
| IsAnimating | Checks whether a Avalonia.AvaloniaProperty is animating. Inherited from AvaloniaObject. |
| IsSet | Checks 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. |
| VerifyAccess | Checks that the current thread is the UI thread and throws if not. Inherited from AvaloniaObject. |
Properties
| Name | Description |
|---|---|
| Fill | Gets or sets the marker fill brush. |
| Label | Gets or sets an optional label for the marker. |
| Latitude | Gets or sets the latitude coordinate. |
| Longitude | Gets or sets the longitude coordinate. |
| MarkerSize | Gets or sets the marker size. |
| MarkerType | Gets or sets the marker type (Circle, Diamond, Triangle, etc.). |
| Stroke | Gets or sets the marker stroke brush. |
| Dispatcher | Returns the Avalonia.AvaloniaObject.Dispatcher that this Avalonia.AvaloniaObject is associated with. Inherited from AvaloniaObject. |
| Item | Inherited 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
| Name | Description |
|---|---|
| FillProperty | Identifies the Avalonia.Controls.Charts.MapMarker.Fill Avalonia property. |
| LabelProperty | Identifies the Avalonia.Controls.Charts.MapMarker.Label Avalonia property. |
| LatitudeProperty | Identifies the Avalonia.Controls.Charts.MapMarker.Latitude Avalonia property. |
| LongitudeProperty | Identifies the Avalonia.Controls.Charts.MapMarker.Longitude Avalonia property. |
| MarkerSizeProperty | Identifies the Avalonia.Controls.Charts.MapMarker.MarkerSize Avalonia property. |
| MarkerTypeProperty | Identifies the Avalonia.Controls.Charts.MapMarker.MarkerType Avalonia property. |
| StrokeProperty | Identifies the Avalonia.Controls.Charts.MapMarker.Stroke Avalonia property. |
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
| Name | Description |
|---|---|
| PropertyChanged | Raised when a Avalonia.AvaloniaProperty value changes on this object. Inherited from AvaloniaObject. |