MBMCustomGeometrySourceOptions
@interface MBMCustomGeometrySourceOptions : NSObject
Options for custom geometry source.
-
Unavailable
Undocumented
Declaration
Objective-C
- (nonnull instancetype)init NS_UNAVAILABLE;
-
Unavailable
Undocumented
Declaration
Objective-C
+ (nonnull instancetype)new NS_UNAVAILABLE;
-
Undocumented
Declaration
Objective-C
- (nonnull instancetype)initWithFetchTileFunction:(nonnull MBMFetchTileFunctionCallback)fetchTileFunction cancelTileFunction:(nonnull MBMCancelTileFunctionCallback)cancelTileFunction tileOptions:(nonnull MBMTileOptions *)tileOptions;
Swift
init(fetchTileFunction: @escaping FetchTileFunctionCallback, cancelTileFunction: @escaping CancelTileFunctionCallback, tileOptions: MBMTileOptions)
-
Undocumented
Declaration
Objective-C
- (nonnull instancetype)initWithFetchTileFunction:(nonnull MBMFetchTileFunctionCallback)fetchTileFunction cancelTileFunction:(nonnull MBMCancelTileFunctionCallback)cancelTileFunction minZoom:(uint8_t)minZoom maxZoom:(uint8_t)maxZoom tileOptions:(nonnull MBMTileOptions *)tileOptions;
Swift
init(fetchTileFunction: @escaping FetchTileFunctionCallback, cancelTileFunction: @escaping CancelTileFunctionCallback, minZoom: UInt8, maxZoom: UInt8, tileOptions: MBMTileOptions)
-
The callback that provides data for a tile.
Declaration
Objective-C
@property (nonatomic, readonly, nonnull) MBMFetchTileFunctionCallback fetchTileFunction;
Swift
var fetchTileFunction: FetchTileFunctionCallback { get }
-
The callback that cancels a tile.
Declaration
Objective-C
@property (nonatomic, readonly, nonnull) MBMCancelTileFunctionCallback cancelTileFunction;
Swift
var cancelTileFunction: CancelTileFunctionCallback { get }
-
A minimum zoom level, at which to create vector tiles.
The default value is
0
.Declaration
Objective-C
@property (nonatomic, readonly) uint8_t minZoom;
Swift
var minZoom: UInt8 { get }
-
A maximum zoom level, at which to create vector tiles.
A higher maximum zoom level provides greater details at high map zoom levels.
The default value is
18
.Declaration
Objective-C
@property (nonatomic, readonly) uint8_t maxZoom;
Swift
var maxZoom: UInt8 { get }
-
Tile options.
Declaration
Objective-C
@property (nonatomic, readonly, nonnull) MBMTileOptions *tileOptions;
Swift
var tileOptions: MBMTileOptions { get }