MaplyAnimationTestTileSource
@interface MaplyAnimationTestTileSource : NSObject <MaplyTileSource>
The animation test tile source provides fake images to test the animation functionality in the quad image tiles layer. In general, don’t use it for anything.
-
Initialize with the coordinate system, min and max zoom levels, and the number of images to return
Declaration
Objective-C
- (nonnull instancetype)initWithCoordSys: (MaplyCoordinateSystem *_Nonnull)coordSys minZoom:(int)minZoom maxZoom:(int)maxZoom depth:(int)depth;
Swift
init(coordSys: MaplyCoordinateSystem, minZoom: Int32, maxZoom: Int32, depth: Int32)
-
Coordinate system we’re pretending to be in
Declaration
Objective-C
@property (readonly, nonatomic, nonnull) MaplyCoordinateSystem *coordSys;
Swift
var coordSys: MaplyCoordinateSystem { get }
-
How big the images we generate are
Declaration
Objective-C
@property (assign, readwrite, nonatomic) int pixelsPerSide;
Swift
var pixelsPerSide: Int32 { get set }
-
If set, we’ll throw in a random delay
Declaration
Objective-C
@property (assign, readwrite, nonatomic) _Bool useDelay;
Swift
var useDelay: Bool { get set }
-
If set, we’ll keep it mostly transparent for testing edges
Declaration
Objective-C
@property (assign, readwrite, nonatomic) _Bool transparentMode;
Swift
var transparentMode: Bool { get set }