GPKGGeoPackageTileRetriever
Objective-C
@interface GPKGGeoPackageTileRetriever : NSObject <GPKGTileRetriever>
Swift
class GPKGGeoPackageTileRetriever : NSObject, GPKGTileRetriever
GeoPackage Tile Retriever, retrieves a tile from a GeoPackage from XYZ coordinates
-
Initializer
Declaration
Objective-C
- (instancetype)initWithTileDao:(GPKGTileDao *)tileDao;
Swift
init!(tileDao: GPKGTileDao!)
Parameters
tileDao
tile dao
Return Value
new instance
-
Initializer
Declaration
Objective-C
- (instancetype)initWithTileDao:(GPKGTileDao *)tileDao andWidth:(NSNumber *)width andHeight:(NSNumber *)height;
Swift
init!(tileDao: GPKGTileDao!, andWidth width: NSNumber!, andHeight height: NSNumber!)
Parameters
tileDao
tile dao
width
tile width
height
tile height
Return Value
new instance
-
Get the web mercator bounding box
Declaration
Objective-C
- (GPKGBoundingBox *)webMercatorBoundingBox;
Swift
func webMercatorBoundingBox() -> GPKGBoundingBox!
Return Value
web mercator bounding box
-
Get the Tile Scaling options
Return Value
tile scaling options
-
Set the Tile Scaling options
Declaration
Objective-C
- (void)setScaling:(GPKGTileScaling *)scaling;
Swift
func setScaling(_ scaling: GPKGTileScaling!)
Parameters
scaling
tile scaling options