10.2.5: <AGSWMTSInfoDelegate> Protocol Reference
10.2.5
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
<AGSWMTSInfoDelegate> Protocol Reference

Description

This protocol allows one to be informed when the AGSWMTSInfo object has completed extracting the layer information from a GetCapabilities request to a WMTS service. An instance of this class must be set as AGSWMTSInfo::delegate .

Since
10.1.1
Inheritance diagram for <AGSWMTSInfoDelegate>:

Instance Methods

(void) - wmtsInfo:DidFailToLoad:
 
(void) - wmtsInfo:didFailToLoad:
 
(void) - wmtsInfoDidLoad:
 

Method Documentation

- (void) wmtsInfo: (AGSWMTSInfo *)  wmtsInfo
DidFailToLoad: (NSError *)  error 
optional

This method tells the delegate if the WMTSInfo object failed to load

Parameters
errorInformation regarding the cause of the failure to load.
Since
10.1.1
Deprecated:
Deprecated at 10.2. Use AGSWMTSInfoDelegate::wmtsInfo:didFailToLoad instead.
- (void) wmtsInfo: (AGSWMTSInfo *)  wmtsInfo
didFailToLoad: (NSError *)  error 
optional

This method tells the delegate if the WMTSInfo object failed to load

Parameters
errorInformation regarding the cause of the failure to load.
Since
10.2
- (void) wmtsInfoDidLoad: (AGSWMTSInfo *)  wmtsInfo
required

This method tells the delegate when the AGSWMTSInfo object is finished loading. A class implementing this function would typically create an instance of an AGSWMTSLayer by calling wmtsLayerWithLayerInfo:andSpatialReference:.

Parameters
wmtsInfoThe AGSWMTSInfo object which has finished loading.
Since
10.1.1