A vector field renderer is a renderer that uses symbolizes a U-V or Magnitude-Direction data.

Referenced by: Raster Renderers

Properties

PropertyDetails
attributeFieldName of the feature attribute field that contains the data value.
flowRepresentationSets the flow direction of the data.
Valid values:
  • flow_from
  • flow_to
inputUnitInput unit for Magnitude.
Valid values:
  • esriFeetPerSecond
  • esriKilometersPerHour
  • esriKnots
  • esriMetersPerSecond
  • esriMilesPerHour
outputUnitOutput unit for Magnitude.
Valid values:
  • esriFeetPerSecond
  • esriKilometersPerHour
  • esriKnots
  • esriMetersPerSecond
  • esriMilesPerHour
rotationTypeString 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
styleA 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
symbolTileSizeDetermines 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.
typeSpecifies 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"
}