GLMapRasterTileSource
@interface GLMapRasterTileSource : GLMapTileSourceGLMapRasterTileSource is used to setup custom raster tile source.
- 
                  
                  Initializes tile source. If cachePath==nil no caching will happens. DeclarationObjective-C - (instancetype _Nullable)initWithCachePath:(NSString *_Nullable)cachePath;
- 
                  
                  Gets url of tile. Default implementation reuturns nil. DeclarationObjective-C - (NSURL *_Nullable)urlForTilePos:(GLMapTilePos)pos;
- 
                  
                  Gets image of tile. Default implementation reuturns nil. DeclarationObjective-C - (UIImage *_Nullable)imageForTilePos:(GLMapTilePos)pos expired:(BOOL *_Nonnull)expired;
- 
                  
                  Override this to implement custom caching. Default implementation does nothing. DeclarationObjective-C - (void)saveTileData:(NSData *_Nonnull)data forTilePos:(GLMapTilePos)pos;
- 
                  
                  Cached tile will be refreshed if it will stay in cache more than given time. By default tileRefreshTimeInterval = -1. If tileRefreshTimeInterval < 0 no tile refreshing will be triggered. DeclarationObjective-C @property (atomic, assign, unsafe_unretained, readwrite) int64_t tileRefreshTimeInterval;
- 
                  
                  Defines valid zooms for tile source. Default is 0xFFFFFFFF. DeclarationObjective-C @property (atomic, assign, unsafe_unretained, readwrite) uint32_t validZoomMask;
- 
                  
                  Allows overlap tiles from different zoom levels. DeclarationObjective-C @property (atomic, assign, unsafe_unretained, readwrite) BOOL canOverlapTiles;
- 
                  
                  Allows to draw tiles after maximum zoom DeclarationObjective-C @property (atomic, assign, unsafe_unretained, readwrite) BOOL overzoom;
- 
                  
                  Size of tile in points. Could be used to magnify raster tiles. Default is 256. DeclarationObjective-C @property (atomic, assign, unsafe_unretained, readwrite) uint32_t tileSize;
- 
                  
                  Sets attribution text for map source. Default is @ © OpenStreetMap DeclarationObjective-C @property (atomic, strong, readwrite) NSString *_Nullable attributionText;
- 
                  
                  Gets size of cache file DeclarationObjective-C @property (atomic, readonly) uint64_t cacheSize;
- 
                  
                  Removes all cached data DeclarationObjective-C - (void)dropCache;
 Install in Dash
Install in Dash GLMapRasterTileSource Class Reference
        GLMapRasterTileSource Class Reference