Skip To Content ArcGIS for Developers Sign In Dashboard

Web Map Specification

Feature Reduction Cluster Drawing Info

The feature reduction cluster drawingInfo object contains drawing information, such as labelingInfo, for featureReduction (e.g. clustering) on a feature layer.

Referenced by: Feature Reduction

Properties

Property Details
labelingInfo An object defining the properties used for labeling clusters.

Example

{
  "drawingInfo": {
    "labelingInfo": [
      {
        "labelExpressionInfo": {
          "expression": "Text( $feature[\"cluster_count\"], \"#,###\");"
        },
        "useCodedValues": false,
        "maxScale": 0,
        "minScale": 0,
        "where": "",
        "labelPlacement": "esriServerPointLabelPlacementCenterCenter",
        "deconflictionStrategy": "none",
        "symbol": {
          "color": [
            51,
            51,
            51,
            255
          ],
          "type": "esriTS",
          "horizontalAlignment": "center",
          "rightToLeft": false,
          "angle": 0,
          "xoffset": 0,
          "yoffset": 0,
          "text": "",
          "rotated": false,
          "kerning": true,
          "font": {
            "size": 9,
            "style": "normal",
            "decoration": "none",
            "weight": "bold",
            "family": "Arial"
          }
        }
      }
    ]
  }
}

Feedback on this topic?