GPKGFeatureShape
Objective-C
@interface GPKGFeatureShape : NSObject
/**
 *  Initializer
 *
 *  @param featureId feature id
 *
 *  @return new feature shape
 */
-(instancetype) initWithId: (int) featureId;
/**
 * Get feature id
 *
 * @return feature id
 */
-(int) featureId;
/**
 * Get the map shapes
 *
 * @return map shapes
 */
-(NSMutableArray<GPKGMapShape *> *) shapes;
/**
 * Get the map metadata shapes
 *
 * @return map metadata shapes
 */
-(NSMutableArray<GPKGMapShape *> *) metadataShapes;
/**
 * Add a map shape
 *
 * @param shape map shape
 */
-(void) addShape: (GPKGMapShape *) shape;
/**
 * Add a metadata map shape
 *
 * @param shape metadata map shape
 */
-(void) addMetadataShape: (GPKGMapShape *) shape;
/**
 * Get the count of map shapes
 *
 * @return map shapes count
 */
-(int) count;
/**
 * Determine if there are map shapes
 *
 * @return true if has map shapes
 */
-(BOOL) hasShapes;
/**
 * Get the count of map metadata shapes
 *
 * @return map metadata shapes count
 */
-(int) countMetadataShapes;
/**
 * Determine if there are map metadata shapes
 *
 * @return true if has map metadata shapes
 */
-(BOOL) hasMetadataShapes;
/**
 * Remove all map shapes and metadata map shapes from the map and feature shape
 *
 * @param mapView map view
 */
-(void) removeFromMapView: (MKMapView *) mapView;
/**
 * Remove the map shapes from the map and feature shape
 *
 * @param mapView map view
 */
-(void) removeShapesFromMapView: (MKMapView *) mapView;
/**
 * Remove the map metadata shapes from the map and feature shape
 *
 * @param mapView map view
 */
-(void) removeMetadataShapesFromMapView: (MKMapView *) mapView;
@endSwift
class GPKGFeatureShape : NSObjectUndocumented
- 
                  
                  Initializer DeclarationObjective-C - (instancetype)initWithId:(int)featureId;Swift init!(id featureId: Int32)ParametersfeatureIdfeature id Return Valuenew feature shape 
- 
                  
                  Get feature id DeclarationObjective-C - (int)featureId;Swift func featureId() -> Int32Return Valuefeature id 
- 
                  
                  Get the map shapes DeclarationObjective-C - (NSMutableArray<GPKGMapShape *> *)shapes;Swift func shapes() -> NSMutableArray!Return Valuemap shapes 
- 
                  
                  Get the map metadata shapes DeclarationObjective-C - (NSMutableArray<GPKGMapShape *> *)metadataShapes;Swift func metadataShapes() -> NSMutableArray!Return Valuemap metadata shapes 
- 
                  
                  Add a map shape DeclarationObjective-C - (void)addShape:(GPKGMapShape *)shape;Swift func addShape(_ shape: GPKGMapShape!)Parametersshapemap shape 
- 
                  
                  Add a metadata map shape DeclarationObjective-C - (void)addMetadataShape:(GPKGMapShape *)shape;Swift func addMetadataShape(_ shape: GPKGMapShape!)Parametersshapemetadata map shape 
- 
                  
                  Get the count of map shapes DeclarationObjective-C - (int)count;Swift func count() -> Int32Return Valuemap shapes count 
- 
                  
                  Determine if there are map shapes DeclarationObjective-C - (BOOL)hasShapes;Swift func hasShapes() -> BoolReturn Valuetrue if has map shapes 
- 
                  
                  Get the count of map metadata shapes DeclarationObjective-C - (int)countMetadataShapes;Swift func countMetadataShapes() -> Int32Return Valuemap metadata shapes count 
- 
                  
                  Determine if there are map metadata shapes DeclarationObjective-C - (BOOL)hasMetadataShapes;Swift func hasMetadataShapes() -> BoolReturn Valuetrue if has map metadata shapes 
- 
                  
                  Remove all map shapes and metadata map shapes from the map and feature shape DeclarationObjective-C - (void)removeFromMapView:(MKMapView *)mapView;Swift func remove(from mapView: MKMapView!)ParametersmapViewmap view 
- 
                  
                  Remove the map shapes from the map and feature shape DeclarationObjective-C - (void)removeShapesFromMapView:(MKMapView *)mapView;Swift func removeShapes(from mapView: MKMapView!)ParametersmapViewmap view 
- 
                  
                  Remove the map metadata shapes from the map and feature shape DeclarationObjective-C - (void)removeMetadataShapesFromMapView:(MKMapView *)mapView;Swift func removeMetadataShapes(from mapView: MKMapView!)ParametersmapViewmap view 
 View on GitHub
View on GitHub GPKGFeatureShape Class Reference
        GPKGFeatureShape Class Reference