AGSFeatureTemplate Class Reference
Description
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.
- Since:
- 1.0
List of all members.
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
Reimplemented in AGSWebMapFeatureCollection.
Property Documentation
- (NSString*) featureDescription [read, retain] |
Description of the template.
- Since:
- 1.0
- (NSString*) name [read, retain] |
Name of the template.
- Since:
- 1.0
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.
- Since:
- 1.0