The authoringInfo is an object containing metadata about the authoring process for creating a renderer object. This allows the authoring clients to save specific overridable settings so that next time it is accessed via the UI, their selections are remembered. Non-authoring clients should ignore it. In order to support the slider with color/size/transparency information, the selection of the various themes, classification, and additional properties are saved within this object.

Note: The authoringInfo object is not required with a renderer. It is only used if rendering was generated using Map Viewer rendering tools.

See https://developers.arcgis.com/web-map-specification/objects/authoringInfo/ https://developers.arcgis.com/web-scene-specification/objects/authoringInfo/.

interface AuthoringInfoJson {
    classificationMethod?: ClassificationMethodJsonType;
    colorRamp?: ColorRampJson;
    field?: FieldJson;
    fields?: string;
    standardDeviationInterval?: number;
    type?: AuthoringInfoJsonType;
    visualVariables?: VisualVariableJson;
}

Properties

classificationMethod?: ClassificationMethodJsonType

Used for classed color or size. The default value is esriClassifyManual.

colorRamp?: ColorRampJson

A colorRamp object is used to specify a range of colors that are applied to a group of symbols.

field?: FieldJson

Contains information about an attribute field.

fields?: string

An array of string values representing field names used for creating predominance renderers.

standardDeviationInterval?: number

Use if the classificationMethod is esriClassifyStandardDeviation. Possible values: 0.25, 0.33, 0.5, 1.

In case of classed renderers this is set to either classedSize or classedColor.

visualVariables?: VisualVariableJson

An array of visualVariable objects used for continuous color or size, simple, and unique values with feature opacity.