AGSMapServiceLayerInfo Class Reference
Description
Instances of this class represent information about a layer in an ArcGIS Server map service.
- Defined in:
- AGSMapServiceLayerInfo.h ( ArcGIS library)
- 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
Property Documentation
- (NSUInteger) index [read, assign] |
ID of the layer. The topmost layer is usually 0, and each layer follows sequentially. If a layer is added or removed from the source map document, the ID values will shift accordingly.
- Since:
- 1.0
- (NSString*) name [read, retain] |
User-friendly name of the layer.
- Since:
- 1.0
- (NSInteger) parentLayerID [read, assign] |
ID of the parent layer if this layer is part of a group layer. Otherwise, the value is -1.
- Since:
- 1.0
- (NSArray*) subLayerIDs [read, retain] |
An array of IDs of descendant layers if this layer is a parent layer. Otherwise, the value is nil
.
- Since:
- 1.0
- (BOOL) visible [read, assign] |
Default visibility of the layer.
- Since:
- 1.0