GPKGStyleCache
Objective-C
@interface GPKGStyleCache : NSObjectSwift
class GPKGStyleCache : NSObjectStyle utilities for populating points and shapes. Caches icons for a single GeoPackage
- 
                  
                  Initialize DeclarationObjective-C - (instancetype)initWithGeoPackage:(GPKGGeoPackage *)geoPackage;Swift init!(geoPackage: GPKGGeoPackage!)ParametersgeoPackageGeoPackage 
- 
                  
                  Initialize DeclarationObjective-C - (instancetype)initWithGeoPackage:(GPKGGeoPackage *)geoPackage andIconCacheSize:(int)iconCacheSize;Swift init!(geoPackage: GPKGGeoPackage!, andIconCacheSize iconCacheSize: Int32)ParametersgeoPackageGeoPackage iconCacheSizenumber of icon images to cache 
- 
                  
                  Initialize DeclarationObjective-C - (instancetype)initWithExtension: (GPKGFeatureStyleExtension *)featureStyleExtension;Swift init!(with featureStyleExtension: GPKGFeatureStyleExtension!)ParametersfeatureStyleExtensionfeature style extension 
- 
                  
                  Initialize DeclarationObjective-C - (instancetype)initWithExtension: (GPKGFeatureStyleExtension *)featureStyleExtension andIconCacheSize:(int)iconCacheSize;Swift init!(with featureStyleExtension: GPKGFeatureStyleExtension!, andIconCacheSize iconCacheSize: Int32)ParametersfeatureStyleExtensionfeature style extension iconCacheSizenumber of icon bitmaps to cache 
- 
                  
                  Clear the cache DeclarationObjective-C - (void)clear;Swift func clear()
- 
                  
                  Get the feature style extension DeclarationObjective-C - (GPKGFeatureStyleExtension *)featureStyleExtension;Swift func featureStyleExtension() -> GPKGFeatureStyleExtension!Return Valuefeature style extension 
- 
                  
                  Set the feature row style (icon or style) into the map point DeclarationObjective-C - (BOOL)setFeatureStyleWithMapPoint:(GPKGMapPoint *)mapPoint andFeature:(GPKGFeatureRow *)featureRow;Swift func setFeatureStyleWith(_ mapPoint: GPKGMapPoint!, andFeature featureRow: GPKGFeatureRow!) -> BoolParametersmapPointmap point featureRowfeature row Return Valuetrue if icon or style was set into the map point 
- 
                  
                  Set the feature style (icon or style) into the marker options DeclarationObjective-C - (BOOL)setFeatureStyleWithMapPoint:(GPKGMapPoint *)mapPoint andFeatureStyle:(GPKGFeatureStyle *)featureStyle;Swift func setFeatureStyleWith(_ mapPoint: GPKGMapPoint!, andFeatureStyle featureStyle: GPKGFeatureStyle!) -> BoolParametersmapPointmap point featureStylefeature style Return Valuetrue if icon or style was set into the marker options 
- 
                  
                  Set the icon into the marker options DeclarationObjective-C - (BOOL)setIconWithMapPoint:(GPKGMapPoint *)mapPoint andIcon:(GPKGIconRow *)icon;Swift func setIconWith(_ mapPoint: GPKGMapPoint!, andIcon icon: GPKGIconRow!) -> BoolParametersmapPointmap point iconicon row Return Valuetrue if icon was set into the marker options 
- 
                  
                  Create the icon bitmap DeclarationObjective-C - (id)createIconImageWithIcon:(GPKGIconRow *)icon;Swift func createIconImage(withIcon icon: GPKGIconRow!) -> Any!Parametersiconicon row Return Valueicon bitmap 
- 
                  
                  Set the style into the marker options DeclarationObjective-C - (BOOL)setStyleWithMapPoint:(GPKGMapPoint *)mapPoint andStyle:(GPKGStyleRow *)style;Swift func setStyleWith(_ mapPoint: GPKGMapPoint!, andStyle style: GPKGStyleRow!) -> BoolParametersmapPointmap point stylestyle row Return Valuetrue if style was set into the marker options 
- 
                  
                  Set the feature row style into the polyline DeclarationObjective-C - (BOOL)setFeatureStyleWithPolyline:(GPKGPolyline *)polyline andFeature:(GPKGFeatureRow *)featureRow;Swift func setFeatureStyleWith(_ polyline: GPKGPolyline!, andFeature featureRow: GPKGFeatureRow!) -> BoolParameterspolylinepolyline featureRowfeature row Return Valuetrue if style was set into the polyline 
- 
                  
                  Set the feature style into the polyline DeclarationObjective-C - (BOOL)setFeatureStyleWithPolyline:(GPKGPolyline *)polyline andFeatureStyle:(GPKGFeatureStyle *)featureStyle;Swift func setFeatureStyleWith(_ polyline: GPKGPolyline!, andFeatureStyle featureStyle: GPKGFeatureStyle!) -> BoolParameterspolylinepolyline featureStylefeature style Return Valuetrue if style was set into the polyline 
- 
                  
                  Set the style into the polyline DeclarationObjective-C - (BOOL)setStyleWithPolyline:(GPKGPolyline *)polyline andStyle:(GPKGStyleRow *)style;Swift func setStyleWith(_ polyline: GPKGPolyline!, andStyle style: GPKGStyleRow!) -> BoolParameterspolylinepolyline stylestyle row Return Valuetrue if style was set into the polyline 
- 
                  
                  Set the feature row style into the polygon DeclarationObjective-C - (BOOL)setFeatureStyleWithPolygon:(GPKGPolygon *)polygon andFeature:(GPKGFeatureRow *)featureRow;Swift func setFeatureStyleWith(_ polygon: GPKGPolygon!, andFeature featureRow: GPKGFeatureRow!) -> BoolParameterspolygonpolygon featureRowfeature row Return Valuetrue if style was set into the polygon 
- 
                  
                  Set the feature style into the polygon DeclarationObjective-C - (BOOL)setFeatureStyleWithPolygon:(GPKGPolygon *)polygon andFeatureStyle:(GPKGFeatureStyle *)featureStyle;Swift func setFeatureStyleWith(_ polygon: GPKGPolygon!, andFeatureStyle featureStyle: GPKGFeatureStyle!) -> BoolParameterspolygonpolygon featureStylefeature style Return Valuetrue if style was set into the polygon 
- 
                  
                  Set the style into the polygon DeclarationObjective-C - (BOOL)setStyleWithPolygon:(GPKGPolygon *)polygon andStyle:(GPKGStyleRow *)style;Swift func setStyleWith(_ polygon: GPKGPolygon!, andStyle style: GPKGStyleRow!) -> BoolParameterspolygonpolygon stylestyle row Return Valuetrue if style was set into the polygon 
 View on GitHub
View on GitHub GPKGStyleCache Class Reference
        GPKGStyleCache Class Reference