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!) -> Bool
Parameters
mapPoint
map point
geoPackage
GeoPackage
featureRow
feature 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!) -> Bool
Parameters
mapPoint
map point
geoPackage
GeoPackage
featureRow
feature row
iconCache
icon 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!) -> Bool
Parameters
mapPoint
map point
featureStyleExtension
feature style extension
featureRow
feature 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!) -> Bool
Parameters
mapPoint
map point
featureStyleExtension
feature style extension
featureRow
feature row
iconCache
icon 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!) -> Bool
Parameters
mapPoint
map point
featureStyle
feature 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!) -> Bool
Parameters
mapPoint
map point
featureStyle
feature style
iconCache
icon 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!) -> Bool
Parameters
mapPoint
map point
icon
icon 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!) -> Bool
Parameters
mapPoint
map point
icon
icon row
iconCache
icon 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
icon
icon 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
icon
icon row
iconCache
icon 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!) -> Bool
Parameters
mapPoint
map point
style
style 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!) -> Bool
Parameters
polyline
polyline
geoPackage
GeoPackage
featureRow
feature 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!) -> Bool
Parameters
polyline
polyline
featureStyleExtension
feature style extension
featureRow
feature 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!) -> Bool
Parameters
polyline
polyline
featureStyle
feature 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!) -> Bool
Parameters
polyline
polyline
style
style 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!) -> Bool
Parameters
polygon
polygon
geoPackage
GeoPackage
featureRow
feature 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!) -> Bool
Parameters
polygon
polygon
featureStyleExtension
feature style extension
featureRow
feature 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!) -> Bool
Parameters
polygon
polygon
featureStyle
feature 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!) -> Bool
Parameters
polygon
polygon
style
style row
Return Value
true if style was set into the polygon