GPKGStyleUtils
Objective-C
@interface GPKGStyleUtils : NSObject
Swift
class GPKGStyleUtils : NSObject
Style utilities for populating points and shapes
-
Set the feature row style (icon or style) into the map point
Declaration
Objective-C
+ (BOOL)setFeatureStyleWithMapPoint:(GPKGMapPoint *)mapPoint andGeoPackage:(GPKGGeoPackage *)geoPackage andFeature:(GPKGFeatureRow *)featureRow;Swift
class func setFeatureStyleWith(_ mapPoint: GPKGMapPoint!, andGeoPackage geoPackage: GPKGGeoPackage!, andFeature featureRow: GPKGFeatureRow!) -> BoolParameters
mapPointmap point
geoPackageGeoPackage
featureRowfeature row
Return Value
true if icon or style was set into the map point
-
Set the feature row style (icon or style) into the map point
Declaration
Objective-C
+ (BOOL)setFeatureStyleWithMapPoint:(GPKGMapPoint *)mapPoint andGeoPackage:(GPKGGeoPackage *)geoPackage andFeature:(GPKGFeatureRow *)featureRow andIconCache:(GPKGIconCache *)iconCache;Swift
class func setFeatureStyleWith(_ mapPoint: GPKGMapPoint!, andGeoPackage geoPackage: GPKGGeoPackage!, andFeature featureRow: GPKGFeatureRow!, andIconCache iconCache: GPKGIconCache!) -> BoolParameters
mapPointmap point
geoPackageGeoPackage
featureRowfeature row
iconCacheicon cache
Return Value
true if icon or style was set into the map point
-
Set the feature row style (icon or style) into the map point
Declaration
Objective-C
+ (BOOL)setFeatureStyleWithMapPoint:(GPKGMapPoint *)mapPoint andExtension: (GPKGFeatureStyleExtension *)featureStyleExtension andFeature:(GPKGFeatureRow *)featureRow;Swift
class func setFeatureStyleWith(_ mapPoint: GPKGMapPoint!, andExtension featureStyleExtension: GPKGFeatureStyleExtension!, andFeature featureRow: GPKGFeatureRow!) -> BoolParameters
mapPointmap point
featureStyleExtensionfeature style extension
featureRowfeature row
Return Value
true if icon or style was set into the map point
-
Set the feature row style (icon or style) into the map point
Declaration
Objective-C
+ (BOOL)setFeatureStyleWithMapPoint:(GPKGMapPoint *)mapPoint andExtension: (GPKGFeatureStyleExtension *)featureStyleExtension andFeature:(GPKGFeatureRow *)featureRow andIconCache:(GPKGIconCache *)iconCache;Swift
class func setFeatureStyleWith(_ mapPoint: GPKGMapPoint!, andExtension featureStyleExtension: GPKGFeatureStyleExtension!, andFeature featureRow: GPKGFeatureRow!, andIconCache iconCache: GPKGIconCache!) -> BoolParameters
mapPointmap point
featureStyleExtensionfeature style extension
featureRowfeature row
iconCacheicon cache
Return Value
true if icon or style was set into the map point
-
Set the feature style (icon or style) into the map point
Declaration
Objective-C
+ (BOOL)setFeatureStyleWithMapPoint:(GPKGMapPoint *)mapPoint andFeatureStyle:(GPKGFeatureStyle *)featureStyle;Swift
class func setFeatureStyleWith(_ mapPoint: GPKGMapPoint!, andFeatureStyle featureStyle: GPKGFeatureStyle!) -> BoolParameters
mapPointmap point
featureStylefeature style
Return Value
true if icon or style was set into the map point
-
Set the feature style (icon or style) into the map point
Declaration
Objective-C
+ (BOOL)setFeatureStyleWithMapPoint:(GPKGMapPoint *)mapPoint andFeatureStyle:(GPKGFeatureStyle *)featureStyle andIconCache:(GPKGIconCache *)iconCache;Swift
class func setFeatureStyleWith(_ mapPoint: GPKGMapPoint!, andFeatureStyle featureStyle: GPKGFeatureStyle!, andIconCache iconCache: GPKGIconCache!) -> BoolParameters
mapPointmap point
featureStylefeature style
iconCacheicon cache
Return Value
true if icon or style was set into the map point
-
Set the icon into the map point
Declaration
Objective-C
+ (BOOL)setIconWithMapPoint:(GPKGMapPoint *)mapPoint andIcon:(GPKGIconRow *)icon;Swift
class func setIconWith(_ mapPoint: GPKGMapPoint!, andIcon icon: GPKGIconRow!) -> BoolParameters
mapPointmap point
iconicon row
Return Value
true if icon was set into the map point
-
Set the icon into the map point
Declaration
Objective-C
+ (BOOL)setIconWithMapPoint:(GPKGMapPoint *)mapPoint andIcon:(GPKGIconRow *)icon andIconCache:(GPKGIconCache *)iconCache;Swift
class func setIconWith(_ mapPoint: GPKGMapPoint!, andIcon icon: GPKGIconRow!, andIconCache iconCache: GPKGIconCache!) -> BoolParameters
mapPointmap point
iconicon row
iconCacheicon cache
Return Value
true if icon was set into the map point
-
Create the icon image
Declaration
Objective-C
+ (id)createIconImageWithIcon:(GPKGIconRow *)icon;Swift
class func createIconImage(withIcon icon: GPKGIconRow!) -> Any!Parameters
iconicon row
Return Value
icon image
-
Create the icon image
Declaration
Objective-C
+ (id)createIconImageWithIcon:(GPKGIconRow *)icon andIconCache:(GPKGIconCache *)iconCache;Swift
class func createIconImage(withIcon icon: GPKGIconRow!, andIconCache iconCache: GPKGIconCache!) -> Any!Parameters
iconicon row
iconCacheicon cache
Return Value
icon image
-
Set the style into the marker point
Declaration
Objective-C
+ (BOOL)setStyleWithMapPoint:(GPKGMapPoint *)mapPoint andStyle:(GPKGStyleRow *)style;Swift
class func setStyleWith(_ mapPoint: GPKGMapPoint!, andStyle style: GPKGStyleRow!) -> BoolParameters
mapPointmap point
stylestyle row
Return Value
true if style was set into the marker point
-
Set the feature row style into the polyline
Declaration
Objective-C
+ (BOOL)setFeatureStyleWithPolyline:(GPKGPolyline *)polyline andGeoPackage:(GPKGGeoPackage *)geoPackage andFeature:(GPKGFeatureRow *)featureRow;Swift
class func setFeatureStyleWith(_ polyline: GPKGPolyline!, andGeoPackage geoPackage: GPKGGeoPackage!, andFeature featureRow: GPKGFeatureRow!) -> BoolParameters
polylinepolyline
geoPackageGeoPackage
featureRowfeature row
Return Value
true if style was set into the polyline
-
Set the feature row style into the polyline
Declaration
Objective-C
+ (BOOL)setFeatureStyleWithPolyline:(GPKGPolyline *)polyline andExtension: (GPKGFeatureStyleExtension *)featureStyleExtension andFeature:(GPKGFeatureRow *)featureRow;Swift
class func setFeatureStyleWith(_ polyline: GPKGPolyline!, andExtension featureStyleExtension: GPKGFeatureStyleExtension!, andFeature featureRow: GPKGFeatureRow!) -> BoolParameters
polylinepolyline
featureStyleExtensionfeature style extension
featureRowfeature row
Return Value
true if style was set into the polyline
-
Set the feature style into the polyline
Declaration
Objective-C
+ (BOOL)setFeatureStyleWithPolyline:(GPKGPolyline *)polyline andFeatureStyle:(GPKGFeatureStyle *)featureStyle;Swift
class func setFeatureStyleWith(_ polyline: GPKGPolyline!, andFeatureStyle featureStyle: GPKGFeatureStyle!) -> BoolParameters
polylinepolyline
featureStylefeature style
Return Value
true if style was set into the polyline
-
Set the style into the polyline
Declaration
Objective-C
+ (BOOL)setStyleWithPolyline:(GPKGPolyline *)polyline andStyle:(GPKGStyleRow *)style;Swift
class func setStyleWith(_ polyline: GPKGPolyline!, andStyle style: GPKGStyleRow!) -> BoolParameters
polylinepolyline
stylestyle row
Return Value
true if style was set into the polyline
-
Set the feature row style into the polygon
Declaration
Objective-C
+ (BOOL)setFeatureStyleWithPolygon:(GPKGPolygon *)polygon andGeoPackage:(GPKGGeoPackage *)geoPackage andFeature:(GPKGFeatureRow *)featureRow;Swift
class func setFeatureStyleWith(_ polygon: GPKGPolygon!, andGeoPackage geoPackage: GPKGGeoPackage!, andFeature featureRow: GPKGFeatureRow!) -> BoolParameters
polygonpolygon
geoPackageGeoPackage
featureRowfeature row
Return Value
true if style was set into the polygon
-
Set the feature row style into the polygon
Declaration
Objective-C
+ (BOOL)setFeatureStyleWithPolygon:(GPKGPolygon *)polygon andExtension: (GPKGFeatureStyleExtension *)featureStyleExtension andFeature:(GPKGFeatureRow *)featureRow;Swift
class func setFeatureStyleWith(_ polygon: GPKGPolygon!, andExtension featureStyleExtension: GPKGFeatureStyleExtension!, andFeature featureRow: GPKGFeatureRow!) -> BoolParameters
polygonpolygon
featureStyleExtensionfeature style extension
featureRowfeature row
Return Value
true if style was set into the polygon
-
Set the feature style into the polygon
Declaration
Objective-C
+ (BOOL)setFeatureStyleWithPolygon:(GPKGPolygon *)polygon andFeatureStyle:(GPKGFeatureStyle *)featureStyle;Swift
class func setFeatureStyleWith(_ polygon: GPKGPolygon!, andFeatureStyle featureStyle: GPKGFeatureStyle!) -> BoolParameters
polygonpolygon
featureStylefeature style
Return Value
true if style was set into the polygon
-
Set the style into the polygon
Declaration
Objective-C
+ (BOOL)setStyleWithPolygon:(GPKGPolygon *)polygon andStyle:(GPKGStyleRow *)style;Swift
class func setStyleWith(_ polygon: GPKGPolygon!, andStyle style: GPKGStyleRow!) -> BoolParameters
polygonpolygon
stylestyle row
Return Value
true if style was set into the polygon
View on GitHub
GPKGStyleUtils Class Reference