Toggle tile cache final API (#2723)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Bart Louwers <bart.louwers@gmail.com>
This commit is contained in:
@@ -415,6 +415,17 @@ MLN_EXPORT
|
||||
*/
|
||||
@property (nonatomic, assign) BOOL prefetchesTiles;
|
||||
|
||||
/**
|
||||
A Boolean value indicating whether the map may cache tiles for different zoom levels or not.
|
||||
|
||||
When this property is set to `YES`, the map view consumes more memory and
|
||||
provide a smoother user experience when zoom in/out.
|
||||
|
||||
The default value of this property is `YES`.
|
||||
*/
|
||||
|
||||
@property (nonatomic, assign) BOOL tileCacheEnabled;
|
||||
|
||||
// MARK: Displaying the User’s Location
|
||||
|
||||
/**
|
||||
@@ -2093,16 +2104,6 @@ vertically on the map.
|
||||
predicate:(nullable NSPredicate *)predicate
|
||||
NS_SWIFT_NAME(visibleFeatures(in:styleLayerIdentifiers:predicate:));
|
||||
|
||||
// MARK: Tile Cache
|
||||
|
||||
/**
|
||||
Indicating whether the map may cache tiles for different zoom levels or not.
|
||||
|
||||
@param enabled causes the map view to consume more memory and have a smoother user
|
||||
* experience when zoom in/out. The default value of this property is `YES`.
|
||||
*/
|
||||
- (void)experimental_setTileCacheEnabled:(BOOL)enabled;
|
||||
|
||||
// MARK: Debugging the Map
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user