GPKGOverlayFactory
Objective-C
@interface GPKGOverlayFactory : NSObject
Swift
class GPKGOverlayFactory : NSObject
Get a tile provider for the Tile DAO
-
Get a Tile Overlay for the Tile DAO
Declaration
Objective-C
+ (MKTileOverlay *)tileOverlayWithTileDao:(GPKGTileDao *)tileDao;
Swift
class func tileOverlay(with tileDao: GPKGTileDao!) -> MKTileOverlay!
Parameters
tileDao
tile dao
Return Value
tile overlay
-
Get a Tile Overlay for the Tile DAO
Declaration
Objective-C
+ (MKTileOverlay *)tileOverlayWithTileDao:(GPKGTileDao *)tileDao andScaling:(GPKGTileScaling *)scaling;
Swift
class func tileOverlay(with tileDao: GPKGTileDao!, andScaling scaling: GPKGTileScaling!) -> MKTileOverlay!
Parameters
tileDao
tile dao
scaling
tile scaling
Return Value
tile overlay
-
Get a Bounded Overlay Tile Provider for the Tile DAO
Declaration
Objective-C
+ (GPKGBoundedOverlay *)boundedOverlay:(GPKGTileDao *)tileDao;
Swift
class func boundedOverlay(_ tileDao: GPKGTileDao!) -> GPKGBoundedOverlay!
Parameters
tileDao
tile dao
Return Value
bounded overlay
-
Get a Bounded Overlay Tile Provider for the Tile DAO
Declaration
Objective-C
+ (GPKGBoundedOverlay *)boundedOverlay:(GPKGTileDao *)tileDao andScaling:(GPKGTileScaling *)scaling;
Swift
class func boundedOverlay(_ tileDao: GPKGTileDao!, andScaling scaling: GPKGTileScaling!) -> GPKGBoundedOverlay!
Parameters
tileDao
tile dao
scaling
tile scaling
Return Value
bounded overlay
-
Create a composite overlay by first adding a tile overlay for the tile DAO followed by the provided overlay
Declaration
Objective-C
+ (GPKGCompositeOverlay *)compositeOverlayWithTileDao:(GPKGTileDao *)tileDao andOverlay: (GPKGBoundedOverlay *)overlay;
Swift
class func compositeOverlay(with tileDao: GPKGTileDao!, andOverlay overlay: GPKGBoundedOverlay!) -> GPKGCompositeOverlay!
Parameters
tileDao
tile dao
overlay
bounded overlay
Return Value
composite overlay
-
Create a composite overlay by first adding tile overlays for the tile DAOs followed by the provided overlay
Declaration
Objective-C
+ (GPKGCompositeOverlay *) compositeOverlayWithTileDaos:(NSArray<GPKGTileDao *> *)tileDaos andOverlay:(GPKGBoundedOverlay *)overlay;
Swift
class func compositeOverlay(with tileDaos: [GPKGTileDao]!, andOverlay overlay: GPKGBoundedOverlay!) -> GPKGCompositeOverlay!
Parameters
tileDaos
array of tile daos
overlay
bounded overlay
Return Value
composite overlay
-
Create a composite overlay by adding tile overlays for the tile DAOs
Declaration
Objective-C
+ (GPKGCompositeOverlay *)compositeOverlayWithTileDaos: (NSArray<GPKGTileDao *> *)tileDaos;
Swift
class func compositeOverlay(with tileDaos: [GPKGTileDao]!) -> GPKGCompositeOverlay!
Parameters
tileDaos
array of tile daos
Return Value
composite overlay
-
Create a composite overlay linking the feature overly with
Declaration
Objective-C
+ (GPKGBoundedOverlay *) linkedFeatureOverlayWithOverlay:(GPKGFeatureOverlay *)featureOverlay andGeoPackage:(GPKGGeoPackage *)geoPackage;
Swift
class func linkedFeatureOverlay(with featureOverlay: GPKGFeatureOverlay!, andGeoPackage geoPackage: GPKGGeoPackage!) -> GPKGBoundedOverlay!
Parameters
featureOverlay
feature overlay
geoPackage
GeoPackage
Return Value
linked bounded overlay
-
Get a Tile Overlay for the tile or feature table
Declaration
Objective-C
+ (MKTileOverlay *)tileOverlayWithGeoPackage:(GPKGGeoPackage *)geoPackage andTableName:(NSString *)table;
Swift
class func tileOverlay(with geoPackage: GPKGGeoPackage!, andTableName table: String!) -> MKTileOverlay!
Parameters
geoPackage
GeoPackage
table
tile or feature table
Return Value
tile overlay
-
Get a Bounded Overlay Tile Provider for the tile or feature table
Declaration
Objective-C
+ (GPKGBoundedOverlay *)boundedOverlayWithGeoPackage: (GPKGGeoPackage *)geoPackage andTableName:(NSString *)table;
Swift
class func boundedOverlay(with geoPackage: GPKGGeoPackage!, andTableName table: String!) -> GPKGBoundedOverlay!
Parameters
geoPackage
GeoPackage
table
tile or feature table
Return Value
tile overlay
-
Get a Tile Overlay for the tile or feature DAO
Declaration
Objective-C
+ (MKTileOverlay *)tileOverlayWithGeoPackage:(GPKGGeoPackage *)geoPackage andUserDao:(GPKGUserDao *)userDao;
Swift
class func tileOverlay(with geoPackage: GPKGGeoPackage!, andUserDao userDao: GPKGUserDao!) -> MKTileOverlay!
Parameters
geoPackage
GeoPackage
userDao
user DAO
Return Value
tile overlay
-
Get a Bounded Overlay Tile Provider for the tile or feature DAO
Declaration
Objective-C
+ (GPKGBoundedOverlay *)boundedOverlayWithGeoPackage: (GPKGGeoPackage *)geoPackage andUserDao:(GPKGUserDao *)userDao;
Swift
class func boundedOverlay(with geoPackage: GPKGGeoPackage!, andUserDao userDao: GPKGUserDao!) -> GPKGBoundedOverlay!
Parameters
geoPackage
GeoPackage
userDao
user DAO
Return Value
tile overlay