MaplyBlankTileSource
@interface MaplyBlankTileSource : NSObject <MaplyTileSource>
A blank tile sources just generates a single colored image for each tile.
-
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;
Swift
init(coordSys: MaplyCoordinateSystem, minZoom: Int32, maxZoom: 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 }
-
Color for the generated tiles
Declaration
Objective-C
@property (nonatomic,strong,nullable) UIColor *color