SimpleMarkerSymbol QML Type

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

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

MarkerSymbol

Properties

Signals

Methods

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
SimpleLineSymboloutline

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.


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

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.