SimpleMarkerSymbol QML Type
A marker symbol based on simple shapes. More...
Import Statement: | import Esri.ArcGISRuntime |
Since: | Esri.ArcGISRuntime 100.0 |
Inherits: |
- List of all members, including inherited members
- SimpleMarkerSymbol is part of QML Type List.
Properties
Signals
Methods
- bool equals(SimpleMarkerSymbol other)
- 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 Symbol.
Property Documentation
color : color |
The color of the symbol.
[default] outline : SimpleLineSymbol |
The outline of the symbol.
size : real |
The size of the symbol in device independent pixels (DIPs).
style : Enums.SimpleMarkerSymbolStyle |
The marker symbol's style.
See also Enums.SimpleMarkerSymbolStyle.
Signal Documentation
colorChanged() |
Emitted when the color property changes.
Note: The corresponding handler is onColorChanged
.
outlineChanged() |
Emitted when the outline property changes.
Note: The corresponding handler is onOutlineChanged
.
sizeChanged() |
Emitted when the size property changes.
Note: The corresponding handler is onSizeChanged
.
styleChanged() |
Emitted when the style property changes.
Note: The corresponding handler is onStyleChanged
.
Method Documentation
|
Compares two SimpleMarkerSymbols for equality.
Returns whether this instance and other are equivalent.
This method was introduced in Esri.ArcGISRuntime 200.1.
|
Converts a SimpleMarkerSymbol to a MultilayerPointSymbol.
This method allows you to create complex and custom symbols with multiple layers of different type of symbology. Simple marker symbol provides a factory of shapes such as square, diamond, and cross. This method generates a MultilayerPointSymbol that contains a VectorMarkerSymbolLayer that has a VectorMarkerSymbolElement with a polygon representation of the simple marker symbol geometry.
This method was introduced in Esri::ArcGISRuntime 100.5.