SimpleRenderer QML Type

  • Esri.ArcGISRuntime
  • SimpleRenderer
  • A simple renderer based on a single symbol. More...

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

    Renderer

    Properties

    Signals

    Detailed Description

    Simple renderers symbolize all graphics in a graphics overlay or features in a feature layer according to a given scheme. Simple renderers use a simple scheme, meaning the same symbol is used for all graphics and features, regardless of their attribute values.

    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.

    Example:

    Apply a SimpleRenderer to a GraphicsOverlay:

    GraphicsOverlay {
        id: graphicsOverlay
    
        SimpleRenderer {
            SimpleMarkerSymbol {
                style: Enums.SimpleMarkerSymbolStyleCircle
                color: "#0000ff"
                size: 16.0
            }
        }
    }

    See also JsonSerializable.

    Property Documentation

    description : string

    The description for the renderer.


    label : string

    The label for the renderer.


    [default] symbol : Symbol

    The symbol for the renderer.

    This symbol will be applied to all graphics or features that are in the layer that this renderer is applied to.


    Signal Documentation

    descriptionChanged()

    Emitted when the description property changes.

    Note: The corresponding handler is onDescriptionChanged.


    labelChanged()

    Emitted when the label property changes.

    Note: The corresponding handler is onLabelChanged.


    symbolChanged()

    Emitted when the symbol property changes.

    Note: The corresponding handler is onSymbolChanged.


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