Simple marker symbols can be used to symbolize point geometries.

Referenced by: symbol, Video Layer Drawing Info

Properties

PropertyDetails
angleNumeric 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.
colorColor 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.
outlineSets the outline of the marker symbol.
sizeNumeric size of the symbol given in points.
styleString value representing the simple marker type.
Valid values: esriSMSCircle, esriSMSCross, esriSMSDiamond, esriSMSSquare, esriSMSTriangle, esriSMSX
typeSpecifies the type of symbol used.
Valid value of this property esriSMS
xoffsetNumeric value indicating the offset on the x-axis in points.
yoffsetNumeric value indicating the offset on the y-axis in points.

Simple Marker Symbol Example

{
"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
}
}