Click or drag to resize

VectorMarkerSymbolLayer Class

The VectorMarkerSymbolLayer represents a marker comprising vector graphics.
Inheritance Hierarchy

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

The VectorMarkerSymbolLayer type exposes the following members.

Public methodVectorMarkerSymbolLayer
Initializes a new instance of the VectorMarkerSymbolLayer class with a collection of vector marker symbol elements.
Public propertyAnchor
Gets or sets the anchor object of a marker symbol layer.
(Inherited from MarkerSymbolLayer.)
Public propertyHeading
Gets or sets the marker symbol layer's heading: the angle of rotation about the anchor point.
(Inherited from MarkerSymbolLayer.)
Public propertyCode exampleIsColorLocked
Get if the symbol layer is color locked.
(Inherited from SymbolLayer.)
Public propertyIsEnabled
Get if the symbol layer is enabled.
(Inherited from SymbolLayer.)
Public propertyOffsetX
Gets or sets the marker symbol layer's x-offset.
(Inherited from MarkerSymbolLayer.)
Public propertyOffsetY
Gets or sets the marker symbol layer's y-offset.
(Inherited from MarkerSymbolLayer.)
Public propertySize
Gets or sets the size of marker symbol layer.
(Inherited from MarkerSymbolLayer.)
Public propertyVectorMarkerSymbolElements
Gets the collection of vector marker symbol elements held by the vector marker symbol layer.
Public eventPropertyChanged
Occurs when a property value changes.
(Inherited from SymbolLayer.)

The VectorMarkerSymbolLayer is constructed from a collection of VectorMarkerSymbolElement which define the building blocks of the vector marker. If it is the sole symbol layer in a MultilayerPointSymbol, this symbol layer places a vector marker at the location of the point feature.

While a simple text symbol (TextSymbol) can be used to display a character as a marker, proper display is dependent on the referenced font being available on the machine or device running the app. If the exact font is not found, which is likely to occur on many mobile devices, a fallback mechanism is used to find the best available font to use. A character marker symbol authored from ArcGIS Pro, however, is represented by a vector marker symbol. This symbol stores the geometry that represents the character, is not dependent on the font to render the shape of the marker, and displays as expected on all devices.

See Also