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

Referenced by: labelingInfo

Properties

PropertyDetails
fieldNameA string containing a field name as defined by the service.
formatAn object specifying number or date formatting options.

Example

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