GPKGCompositeOverlay
Objective-C
@interface GPKGCompositeOverlay : GPKGBoundedOverlay
Swift
class GPKGCompositeOverlay : GPKGBoundedOverlay
Composite overlay comprised of multiple overlays, checking each in order for a tile
-
Initialize
Declaration
Objective-C
- (instancetype)init;
Swift
init!()
Return Value
new composite overlay
-
Initialize
Declaration
Objective-C
- (instancetype)initWithOverlay:(GPKGBoundedOverlay *)overlay;
Swift
init!(overlay: GPKGBoundedOverlay!)
Parameters
overlay
first overlay
Return Value
new composite overlay
-
Initialize
Declaration
Objective-C
- (instancetype)initWithOverlays:(NSArray<GPKGBoundedOverlay *> *)overlays;
Swift
init!(overlays: [GPKGBoundedOverlay]!)
Parameters
overlays
ordered overlays
Return Value
new composite overlay
-
Add an overlay
Declaration
Objective-C
- (void)addOverlay:(GPKGBoundedOverlay *)overlay;
Swift
func add(_ overlay: GPKGBoundedOverlay!)
Parameters
overlay
bounded overlay
-
Add overlays
Declaration
Objective-C
- (void)addOverlays:(NSArray<GPKGBoundedOverlay *> *)overlays;
Swift
func add(_ overlays: [GPKGBoundedOverlay]!)
Parameters
overlays
ordered overlays
-
Clear the overlays
Declaration
Objective-C
- (void)clearOverlays;
Swift
func clearOverlays()