Skip To Content ArcGIS for Developers Sign In Dashboard

Web Map Specification

fieldInfo_labelingInfo

Defines how a field in the dataset is formatted when displayed as label on the map.

Referenced by: labelingInfo

Properties

Property Details
fieldName A string containing a field name as defined by the service.
format An object specifying number or date formatting options.

Example

{
  "fieldInfo": {
    "fieldName": "ACRES",
    "format": {
      "places": 2,
      "digitSeparator": true
    }
  }
}

Feedback on this topic?