The following protocols are available globally.
Data source forSee more
MGLComputedShapeSource. This protocol defines two optional methods for fetching data, one based on tile coordinates, and one based on a bounding box. Classes that implement this protocol must implement one, and only one of the methods. Methods on this protocol will not be called on main thread, they will be called on the caller’s
@protocol MGLComputedShapeSourceDataSource <NSObject>
protocol MGLComputedShapeSourceDataSource : NSObjectProtocol
MGLOfflineStorageDelegateprotocol defines methods that a delegate of an
MGLOfflineStorageobject can optionally implement to transform various types of URLs before downloading them via the internet.
@protocol MGLOfflineStorageDelegate <NSObject>
protocol MGLOfflineStorageDelegate : NSObjectProtocol