AGSLabelClass Class Reference


Description

Represents the properties of how a service should be labelled.

Since:
1.8
Inheritance diagram for AGSLabelClass:
<AGSCoding>

List of all members.

Public Member Functions

(void) - decodeWithJSON:
(NSDictionary *) - encodeToJSON
(id) - initWithJSON:

Properties

NSString * labelExpression
float maxScale
float minScale
AGSLabelPlacement placement
AGSTextSymbolsymbol
BOOL useCodedValues

Member Function Documentation

- (void) decodeWithJSON: (NSDictionary *)  json   [optional, inherited]

Decode object from JSON representation.

Parameters:
json The JSON representation of the object to be decoded.
Since:
1.0
- (NSDictionary *) encodeToJSON   [optional, inherited]

Encode and return JSON representation for object.

Returns:
JSON representation of object.
Since:
1.0
- (id) initWithJSON: (NSDictionary *)  json   [optional, inherited]

Initialize and return object from JSON representation.

Parameters:
json The JSON representation of the object to be created.
Returns:
Object decoded from JSON representation.
Since:
1.0

Property Documentation

- (NSString*) labelExpression [read, retain]

The expression that specifies what text is drawn in the label.

Since:
1.8
- (float) maxScale [read, assign]

The max scale that this label class should be used.

Since:
1.8
- (float) minScale [read, assign]

The min scale that this label class should be used.

Since:
1.8
- (AGSLabelPlacement) placement [read, assign]

The placement of the label.

Since:
1.8
- (AGSTextSymbol*) symbol [read, retain]

The symbol that is used for this label class.

Since:
1.8
- (BOOL) useCodedValues [read, assign]

Specifies whether or not the labelling should use coded values.

Since:
1.8