Simple Marker Symbol (esriSMS)

Simple marker symbols can be used to symbolize point geometries.

Properties

Property Details
angle Numeric value used to rotate the symbol. The symbol is rotated counter-clockwise. For example, The following, angle=-30, in will create a symbol rotated -30 degrees counter-clockwise; that is, 30 degrees clockwise.
color Color is represented as a four-element array. The four elements represent values for red, green, blue, and alpha in that order. Values range from 0 through 255. If color is undefined for a symbol, the color value is null.
outline Sets the outline of the marker symbol.
size Numeric size of the symbol given in points.
style String value representing the simple marker type.
Must be one of the following values:
  • esriSMSCircle
  • esriSMSCross
  • esriSMSDiamond
  • esriSMSSquare
  • esriSMSX
  • esriSMSTriangle
type Specifies the type of symbol used.
Value of this property must be esriSMS
xoffset Numeric value indicating the offset on the x-axis in points.
yoffset Numeric value indicating the offset on the y-axis in points.

Example

{
  "symbol": {
    "type": "esriSMS",
    "style": "esriSMSSquare",
    "color": [
      76,
      115,
      0,
      255
    ],
    "size": 8,
    "angle": 0,
    "xoffset": 0,
    "yoffset": 0,
    "outline": {
      "color": [
        152,
        230,
        0,
        255
      ],
      "width": 1
    }
  }
}

Feedback on this topic?