Click or drag to resize

VectorMarkerSymbolElement Class

The VectorMarkerSymbolElement represents a component of a vector marker. A single VectorMarkerSymbolElement is a combination of a symbol and a geometry.
Inheritance Hierarchy
SystemObject
  Esri.ArcGISRuntime.SymbologyVectorMarkerSymbolElement

Namespace:  Esri.ArcGISRuntime.Symbology
Assembly:  Esri.ArcGISRuntime (in Esri.ArcGISRuntime.dll) Version: 100.11.0
Syntax
public sealed class VectorMarkerSymbolElement

The VectorMarkerSymbolElement type exposes the following members.

Constructors
  NameDescription
Public methodVectorMarkerSymbolElement
Initializes a new instance of the VectorMarkerSymbolElement class with a geometry and symbol.
Top
Properties
  NameDescription
Public propertyGeometry
Gets or sets the geometry of the vector marker symbol element.
Public propertySymbol
Gets or sets the symbol of the VectorMarkerSymbolElement.
Top
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.
See Also