AGSWebMapFeatureCollection Class Reference


Description

Instances of this class represent feature collections. A feature collection is a representation of one or more feature layers, where each layer contains the definition of that layer and the features that belong to that layer. In other words, the feaure layer contains all the information it needs to display map contents, and it does not rely on a backing map or feature service.

Since:
2.2
Inheritance diagram for AGSWebMapFeatureCollection:
<AGSCoding>

List of all members.

Public Member Functions

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

Properties

NSArray * layers
BOOL showLegend

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  
Since:
2.2

Reimplemented from <AGSCoding>.


Property Documentation

- (NSArray*) layers [read, retain]

An array of AGSWebMapSubLayerInfo objects representing the individual feature layers in this feature collection.

Since:
2.2
- (BOOL) showLegend [read, assign]

Whether to show legend for the feature collection.

Since:
2.2