MaplyQuadImageOfflineDelegate
@protocol MaplyQuadImageOfflineDelegate <NSObject>
Protocol for receiving an offline rendered image.
This is used by the MaplyQuadImageOfflineLayer to hand over images as they are rendered.
-
Delegate call for the image stack that’s been rendered by the MaplyQuadImageOfflineLayer.
This is the callback method to get the images rendered by the MaplyQuadImageOfflineLayer. You fill this in and then do whatever you may want with the data. You’ll be called on a random thread here, so act accordingly.
Declaration
Objective-C
- (void)offlineLayer:(MaplyQuadImageOfflineLayer *_Nonnull)layer image:(MaplyOfflineImage *_Nonnull)offlineImage;
Swift
func offlineLayer(_ layer: MaplyQuadImageOfflineLayer, image offlineImage: MaplyOfflineImage)
Parameters
layer
The offline rendering layer producing the image stack.
offlineImage
One or more images rendered by the offline layer. The size of the array will correspond to the depth of the tile source provided to the offline layer.