SimpleMarkerSymbol QML Type

A marker symbol based on simple shapes. More...

Import Statement: import Esri.ArcGISRuntime
Since: Esri.ArcGISRuntime 100.0





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.

TypeDefault Property


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.

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


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

[since Esri::ArcGISRuntime 100.5] 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.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.