Class VectorMarkerSymbolElement
The VectorMarkerSymbolElement represents a component of a vector marker. A single VectorMarkerSymbolElement is a combination of a symbol and a geometry.
Inheritance
Namespace: Esri.ArcGISRuntime.Symbology
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class VectorMarkerSymbolElement
Remarks
The symbol and geometry properties must create a meaningful combination to have a visual effect. For example, a MultilayerPolygonSymbol does not draw anything if the corresponding geometry is a point, but does draw if the geometry is a polygon. The symbol held by the VectorMarkerSymbolElement is itself a MultilayerSymbol. The geometry of the VectorMarkerSymbolElement does not pertain to the geography of the Map or Scene. Rather, the geometry property describes the shape of the MultilayerSymbol held by the VectorMarkerSymbolElement. The coordinate values defining the geometry are in points. This behavior facilitates creating a custom VectorMarkerSymbolElement of custom shape and symbol, then combining it with zero or more other elements to form a vector marker symbol element. To create a red square, for example, construct a VectorMarkerSymbolElement with a MultilayerPolygonSymbol that contains a red SolidFillSymbolLayer and a square geometry. When combined in a VectorMarkerSymbolElement and placed in a VectorMarkerSymbolLayer a red square displays.
Constructors
Name | Description |
---|---|
VectorMarkerSymbolElement(Geometry, MultilayerSymbol) | Initializes a new instance of the VectorMarkerSymbolElement class with a geometry and symbol. |
Properties
Name | Description |
---|---|
Geometry | Gets or sets the geometry of the vector marker symbol element. |
Symbol | Gets or sets the symbol of the VectorMarkerSymbolElement. |
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 100.5 - 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.5 - 200.5 |
Xamarin.Android | 100.5 - 100.15 |
Xamarin.iOS | 100.5 - 100.15 |
UWP | 100.5 - 200.5 |