GPKGGeoPackageOverlay
Objective-C
@interface GPKGGeoPackageOverlay : GPKGBoundedOverlay
Swift
class GPKGGeoPackageOverlay : GPKGBoundedOverlay
GeoPackage Tile Overlay
-
Coordinate
Declaration
Objective-C
@property (nonatomic, readonly) CLLocationCoordinate2D coordinate;
Swift
var coordinate: CLLocationCoordinate2D { get }
-
The projected rectangle that encompasses the overlay. (required) (read-only)
Declaration
Objective-C
- (MKMapRect)boundingMapRect;
Swift
func boundingMapRect() -> MKMapRect
Return Value
map rectangle
-
Initialize
Declaration
Objective-C
- (instancetype)initWithTileDao:(GPKGTileDao *)tileDao;
Swift
init!(tileDao: GPKGTileDao!)
Parameters
tileDao
tile dao
Return Value
new tile dao
-
Initialize
Declaration
Objective-C
- (instancetype)initWithTileDao:(GPKGTileDao *)tileDao andWidth:(int)width andHeight:(int)height;
Swift
init!(tileDao: GPKGTileDao!, andWidth width: Int32, andHeight height: Int32)
Parameters
tileDao
tile dao
width
tile width
height
tile height
Return Value
new tile dao
-
Initialize
Declaration
Objective-C
- (instancetype)initWithTileDao:(GPKGTileDao *)tileDao andScaling:(GPKGTileScaling *)scaling;
Swift
init!(tileDao: GPKGTileDao!, andScaling scaling: GPKGTileScaling!)
Parameters
tileDao
tile dao
scaling
tile scaling
Return Value
new tile dao
-
Initialize
Declaration
Objective-C
- (instancetype)initWithTileDao:(GPKGTileDao *)tileDao andWidth:(int)width andHeight:(int)height andScaling:(GPKGTileScaling *)scaling;
Swift
init!(tileDao: GPKGTileDao!, andWidth width: Int32, andHeight height: Int32, andScaling scaling: GPKGTileScaling!)
Parameters
tileDao
tile dao
width
tile width
height
tile height
scaling
tile scaling
Return Value
new tile dao
-
Get the tile retriever
Declaration
Objective-C
- (NSObject<GPKGTileRetriever> *)retriever;
Swift
func retriever() -> (any GPKGTileRetriever)!
Return Value
retriever