A vector field renderer is a renderer that uses symbolizes a U-V or Magnitude-Direction data.
Referenced by: Raster Renderers
Properties
| Property | Details |
|---|---|
| attributeField | Name of the feature attribute field that contains the data value. |
| flowRepresentation | Sets the flow direction of the data. Valid values:
|
| inputUnit | Input unit for Magnitude. Valid values:
|
| outputUnit | Output unit for Magnitude. Valid values:
|
| 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:
|
| style | A predefined style. Valid values: beaufort_ft, beaufort_km, beaufort_kn, beaufort_m, beaufort_mi, classified_arrow, ocean_current_kn, ocean_current_m, simple_scalar, single_arrow, wind_speed |
| symbolTileSize | Determines the density of the symbols. Larger tile size, fewer symbols appear in the display. The VectorFieldRenderer draws one symbol within a defined tile size (in pixels). The default is 50 pixels. |
| type | Specifies the type of renderer used. Valid value of this property vectorField |
| visualVariables[] | An array of objects used to set rendering properties. |
Example
{
"rotationType": "geographic",
"inputUnit": "esriMetersPerSecond",
"outputUnit": "esriKilometersPerHour",
"visualVariables": [
{
"type": "sizeInfo",
"minSize": 5.625,
"maxSize": 22.5,
"minDataValue": 0.041,
"maxDataValue": 31.938,
"field": "Magnitude"
}
],
"symbolTileSize": 50,
"type": "vectorField",
"style": "beaufort_kn",
"attributeField": "Magnitude",
"flowRepresentation": "flow_from"
}