Simple Renderer

A simple renderer is a renderer that uses one symbol only.

Referenced by: renderer, Temporal Renderer

Properties

Property Details
authoringInfo 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 can ignore it.
description Description of the renderer.
label The text string that is displayed in the table of contents.
rotationExpression A constant value or an expression that derives the angle of rotation based on a feature attribute value. When an attribute name is specified, it's enclosed in square brackets. Rotation is set using a visual variable of type rotationInfo with a specified field or valueExpression property
rotationType String value which controls the origin and direction of rotation on point features. If the rotationType is defined as arithmetic, the symbol is rotated from East in a counter-clockwise direction where East is the 0 degree axis. If the rotationType is defined as geographic, the symbol is rotated from North in a clockwise direction where North is the 0 degree axis.
Valid values:
  • arithmetic
  • geographic
symbol An object that represents how all features will be drawn.
type Specifies the type of renderer used.
Valid value of this property simple
visualVariables[] An array of objects used to set rendering properties.

Example

Live sample web map showing simple renderer

{
  "type": "simple",
  "symbol": {
    "color": [
      0,
      0,
      128,
      128
    ],
    "size": 15,
    "angle": 0,
    "xoffset": 0,
    "yoffset": 0,
    "type": "esriSMS",
    "style": "esriSMSCircle",
    "outline": {
      "color": [
        0,
        0,
        128,
        255
      ],
      "width": 0.99975,
      "type": "esriSLS",
      "style": "esriSLSSolid"
    }
  }
}

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