MaplyPagingElevationTestTileSource
@interface MaplyPagingElevationTestTileSource : NSObject <MaplyPagingDelegate>
A data source used for testing paging layer.
This data source puts up a colored and numbered rectangle for each tile loaded. It’s useful for debugging paging schemes.
-
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 elevSource:(id<MaplyElevationSourceDelegate> _Nullable)elevSource;
Swift
init(coordSys: MaplyCoordinateSystem, minZoom: Int32, maxZoom: Int32, elevSource: MaplyElevationSourceDelegate?)
-
Coordinate system we’re pretending to be in
Declaration
Objective-C
@property (readonly, nonatomic, nonnull) MaplyCoordinateSystem *coordSys;
Swift
var coordSys: MaplyCoordinateSystem { get }
-
Minimum zoom level supported
Declaration
Objective-C
@property (assign, readwrite, nonatomic) int minZoom;
Swift
var minZoom: Int32 { get set }
-
Max zoom level supported
Declaration
Objective-C
@property (assign, readwrite, nonatomic) int maxZoom;
Swift
var maxZoom: Int32 { get set }
-
The data source for elevation data
Declaration
Objective-C
@property (assign, readwrite, nonatomic, nullable) id<MaplyElevationSourceDelegate> elevSource;
Swift
var elevSource: MaplyElevationSourceDelegate? { get set }