AGSWebMapSubLayerInfo Class Reference


Description

Instances of this class represent sub-layers of a top level layer in a webmap. The sub-layers may be individual feature layers belonging to an AGSWebMapFeatureCollection, or they may be sub-layers of a map service layer.

Since:
2.2
Inheritance diagram for AGSWebMapSubLayerInfo:
<AGSCoding>

List of all members.

Public Member Functions

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

Properties

NSDictionary * featureSet
NSDictionary * layerDefinition
NSUInteger layerId
AGSPopupInfopopupInfo

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

- (NSDictionary*) featureSet [read, retain]

JSON representation of an AGSFeatureSet containing the features to be displayed by the layer. Only applicable if the layer is part of an AGSWebMapFeatureCollection.

Since:
2.2
- (NSDictionary*) layerDefinition [read, retain]

JSON representation of the layer's properties. Only applicable if the layer is part of an AGSWebMapFeatureCollection. This is the JSON returned by a Map or Feature Service for one of its layers, for example, http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/SanFrancisco/311Incidents/FeatureServer/0?f=pjson.

Since:
2.2
- (NSUInteger) layerId [read, assign]

The id of the layer

Since:
2.2
- (AGSPopupInfo*) popupInfo [read, retain]

The popup definition of the layer

Since:
2.2