A marker symbol based on simple shapes. More...
Import Statement: | import Esri.ArcGISRuntime 100.15 |
Since: | Esri.ArcGISRuntime 100.0 |
Inherits: |
Properties
Signals
Methods
- MultilayerPointSymbol toMultilayerSymbol()
Detailed Description
Symbols describe how graphics and features look on a map. Different symbols are used with different geometry types. Instances of this type represent simple marker symbols. Marker symbols are used to display those graphics and features which are based on point or multipoint geometry. Simple marker symbols display simple, predefined markers such as circle, cross, and so on. In addition, the markers can have an optional outline, which is defined by a line symbol.
This QML type supports the following default properties. A default property may be declared inside another declared object without being assigned explicitly to a property.
Type | Default Property |
---|---|
SimpleLineSymbol | outline |
Example:
Create a SimpleMarkerSymbol and set its style, color, size, and outline:
SimpleMarkerSymbol { id: simpleMarkerSymbol color: "grey" size: 34.0 style: Enums.SimpleMarkerSymbolStyleCircle // declare the symbol's outline SimpleLineSymbol { width: 1 color: "black" } }
See also JsonSerializable.
Property Documentation
color : color |
The color of the symbol.
[default] outline : SimpleLineSymbol |
The outline of the symbol.
The marker symbol's style.
See also Enums.SimpleMarkerSymbolStyle.
Signal Documentation
Emitted when the color property changes.
Note: The corresponding handler is onColorChanged
.
Emitted when the outline property changes.
Note: The corresponding handler is onOutlineChanged
.
Emitted when the size property changes.
Note: The corresponding handler is onSizeChanged
.
Emitted when the style property changes.
Note: The corresponding handler is onStyleChanged
.
Method Documentation
MultilayerPointSymbol toMultilayerSymbol() |
Returns Multilayer point symbol generated from simple marker symbol.
The resulting MultilayerPointSymbol contains a single VectorMarkerSymbolLayer that has a VectorMarkerSymbolElement with a polygon representation of the marker geometry.
This method was introduced in Esri::ArcGISRuntime 100.5.