NTCacheTileDataSource
@interface NTCacheTileDataSource : NTTileDataSource
A tile data source that loads tiles from another tile data source and caches them.
-
Undocumented
Declaration
Objective-C
- (int)getMinZoom; -
Undocumented
Declaration
Objective-C
-(int)getMinZoomSwigExplicitNTCacheTileDataSource; -
Undocumented
Declaration
Objective-C
- (int)getMaxZoom; -
Undocumented
Declaration
Objective-C
-(int)getMaxZoomSwigExplicitNTCacheTileDataSource; -
Undocumented
Declaration
Objective-C
- (NTMapBounds *)getDataExtent; -
Undocumented
Declaration
Objective-C
-(NTMapBounds*)getDataExtentSwigExplicitNTCacheTileDataSource; -
Undocumented
Declaration
Objective-C
- (void)notifyTilesChanged:(BOOL)removeTiles; -
Undocumented
Declaration
Objective-C
-(void)notifyTilesChangedSwigExplicitNTCacheTileDataSource: (BOOL)removeTiles; -
Returns the original data source that the cache uses.
Declaration
Objective-C
- (NTTileDataSource *)getDataSource;Return Value
The original data source.
-
Clear the cache.
Declaration
Objective-C
- (void)clear; -
Returns the tile cache capacity.
Declaration
Objective-C
- (unsigned long)getCapacity;Return Value
The tile cache capacity in bytes.
-
Sets the cache capacity.
Declaration
Objective-C
- (void)setCapacity:(unsigned long)capacityInBytes;Parameters
capacityInBytesThe new tile cache capacity in bytes.
-
Undocumented
Declaration
Objective-C
-(id)initWithDataSource: (NTTileDataSource*)dataSource; -
Undocumented
Declaration
Objective-C
-(void)dealloc;
View on GitHub
NTCacheTileDataSource Class Reference