Instances of this class represent a feature template. A feature template defines all the information required to create a feature: the layer where a feature will be stored and the attributes a feature is created with.
Public Member Functions | |
(void) | - decodeWithJSON: |
(NSDictionary *) | - encodeToJSON |
(id) | - initWithJSON: |
Properties | |
NSString * | featureDescription |
NSString * | name |
AGSGraphic * | prototype |
- (void) decodeWithJSON: | (NSDictionary *) | json | [optional, inherited] |
Decode object from JSON representation.
json | The JSON representation of the object to be decoded. |
- (NSDictionary *) encodeToJSON | [optional, inherited] |
Encode and return JSON representation for object.
- (id) initWithJSON: | (NSDictionary *) | json | [optional, inherited] |
Initialize and return object from JSON representation.
json | The JSON representation of the object to be created. |
- (NSString*) featureDescription [read, retain] |
Description of the template.
- (NSString*) name [read, retain] |
Name of the template.
- (AGSGraphic*) prototype [read, retain] |
A prototypical feature associated with the template which can be used to easily create new features. The prototype specifies default values for the feature's attributes, however, it does not contain a geometry.