Class MarkerSymbol
A base class for marker symbols used to display graphics and features (collectively referred to as geoelements) that have points or multipoint geometry.
Implements
Namespace: Esri.ArcGISRuntime.Symbology
Assembly: Esri.ArcGISRuntime.dll
Syntax
public abstract class MarkerSymbol : Symbol, INotifyPropertyChanged
Remarks
Symbols describe how graphics and features look on a map. Different symbols are used with different geometry types. Marker symbols are used to display graphics and features that are based on point or multipoint geometries such as cities, a route destination, or fire hydrants. Subclasses of this class represent specific types of marker symbols such as SimpleMarkerSymbol, PictureMarkerSymbol, or TextSymbol.
You can specify the following two types of offsets:
- Offset the visible symbol from the symbol's point geometry.
- Offset a callout's leader line from the symbol's point geometry.
For each offset, you can specify an x-offset and a y-offset in device independent pixels (DIPs) using a Cartesian coordinate system. For example, if you specify a callout x-offset of -5.0, the callout's leader line will offset to the left along the x-axis by five points.
By default, the center of a
You can control the rotation of the marker symbol using the Angle. However, you must also consider whether this rotation is relative to the map or screen (AngleAlignment).
Properties
Name | Description |
---|---|
Angle | Gets or sets the angle (in degrees) that the marker symbol is rotated by. |
AngleAlignment | Gets or sets the indicates whether the marker symbol is rotated relative to the screen or map. |
LeaderOffsetX | Gets or sets the callout leader's X offset relative to the marker symbol. |
LeaderOffsetY | Gets or sets the callout leader's Y offset relative to the marker symbol. |
OffsetX | Gets or sets the offset X of the marker symbol relative to the graphic or feature's point geometry. |
OffsetY | Gets or sets the offset Y of the marker symbol relative to the graphic or feature's point geometry. |
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.0 - 200.5 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.5 |