GPKGFeatureOverlayQuery
Objective-C
@interface GPKGFeatureOverlayQuery : NSObject
Swift
class GPKGFeatureOverlayQuery : NSObject
Used to query the features represented by tiles, either being drawn from or linked to the features
-
Screen click percentage between 0.0 and 1.0 for how close a feature on the screen must be to be included in a click query
Declaration
Objective-C
@property (nonatomic) float screenClickPercentage;Swift
var screenClickPercentage: Float { get set } -
Flag indicating if building info messages for tiles with features over the max is enabled
Declaration
Objective-C
@property (nonatomic) BOOL maxFeaturesInfo;Swift
var maxFeaturesInfo: Bool { get set } -
Flag indicating if building info messages for clicked features is enabled
Declaration
Objective-C
@property (nonatomic) BOOL featuresInfo;Swift
var featuresInfo: Bool { get set } -
Pixel bounds
Declaration
Objective-C
@property (nonatomic, strong) GPKGPixelBounds *stylePixelBounds;Swift
var stylePixelBounds: GPKGPixelBounds! { get set } -
Initialize
Declaration
Objective-C
- (instancetype)initWithFeatureOverlay:(GPKGFeatureOverlay *)featureOverlay;Swift
init!(featureOverlay: GPKGFeatureOverlay!)Parameters
featureOverlayfeature overlay
Return Value
new feature overlay query
-
Initialize
Declaration
Objective-C
- (instancetype)initWithBoundedOverlay:(GPKGBoundedOverlay *)boundedOverlay andFeatureTiles:(GPKGFeatureTiles *)featureTiles;Swift
init!(boundedOverlay: GPKGBoundedOverlay!, andFeatureTiles featureTiles: GPKGFeatureTiles!)Parameters
boundedOverlaybounded overlay
featureTilesfeature tiles
Return Value
new feature overlay query
-
Close the feature tiles connection
Declaration
Objective-C
- (void)close;Swift
func close() -
Get the bounded overlay
Declaration
Objective-C
- (GPKGBoundedOverlay *)boundedOverlay;Swift
func boundedOverlay() -> GPKGBoundedOverlay!Return Value
bounded overlay
-
Get the feature tiles
Declaration
Objective-C
- (GPKGFeatureTiles *)featureTiles;Swift
func featureTiles() -> GPKGFeatureTiles!Return Value
feature tiles
-
Get the feature info builder
Declaration
Objective-C
- (GPKGFeatureInfoBuilder *)featureInfoBuilder;Swift
func featureInfoBuilder() -> GPKGFeatureInfoBuilder!Return Value
feature info builder
-
Calculate and set the style pixel bounds to enable queries on visible feature styles
Declaration
Objective-C
- (void)calculateStylePixelBounds;Swift
func calculateStylePixelBounds() -
Determine if the the feature overlay is on for the current zoom level of the map view at the location coordinate
Declaration
Objective-C
- (BOOL)onAtCurrentZoomWithMapView:(MKMapView *)mapView andLocationCoordinate:(CLLocationCoordinate2D)locationCoordinate;Swift
func onAtCurrentZoom(with mapView: MKMapView!, andLocationCoordinate locationCoordinate: CLLocationCoordinate2D) -> BoolParameters
mapViewmap view
locationCoordinatelocation coordinate
Return Value
true if on
-
Determine if the the feature overlay is on for the provided zoom level at the location coordinate
Declaration
Objective-C
- (BOOL)onAtZoom:(double)zoom andLocationCoordinate:(CLLocationCoordinate2D)locationCoordinate;Swift
func on(atZoom zoom: Double, andLocationCoordinate locationCoordinate: CLLocationCoordinate2D) -> BoolParameters
zoomzoom level
locationCoordinatelocation coordinate
Return Value
true if on
-
Get the count of features in the tile at the map point and zoom level
Declaration
Objective-C
- (int)tileFeatureCountWithMapPoint:(GPKGMapPoint *)mapPoint andDoubleZoom:(double)zoom;Swift
func tileFeatureCount(with mapPoint: GPKGMapPoint!, andDoubleZoom zoom: Double) -> Int32Parameters
mapPointmap point
zoomdouble zoom value
Return Value
tile feature count
-
Get the count of features in the tile at the map point and zoom level
Declaration
Objective-C
- (int)tileFeatureCountWithMapPoint:(GPKGMapPoint *)mapPoint andZoom:(int)zoom;Swift
func tileFeatureCount(with mapPoint: GPKGMapPoint!, andZoom zoom: Int32) -> Int32Parameters
mapPointmap point
zoomzoom value
Return Value
tile feature count
-
Get the count of features in the tile at the mapkit map point and zoom level
Declaration
Objective-C
- (int)tileFeatureCountWithMKMapPoint:(MKMapPoint)mapPoint andDoubleZoom:(double)zoom;Swift
func tileFeatureCount(with mapPoint: MKMapPoint, andDoubleZoom zoom: Double) -> Int32Parameters
mapPointmap point
zoomdouble zoom value
Return Value
tile feature count
-
Get the count of features in the tile at the mapkit map point and zoom level
Declaration
Objective-C
- (int)tileFeatureCountWithMKMapPoint:(MKMapPoint)mapPoint andZoom:(int)zoom;Swift
func tileFeatureCount(with mapPoint: MKMapPoint, andZoom zoom: Int32) -> Int32Parameters
mapPointmap point
zoomzoom value
Return Value
tile feature count
-
Get the count of features in the tile at the location coordinate and zoom level
Declaration
Objective-C
- (int)tileFeatureCountWithLocationCoordinate:(CLLocationCoordinate2D)location andDoubleZoom:(double)zoom;Swift
func tileFeatureCount(with location: CLLocationCoordinate2D, andDoubleZoom zoom: Double) -> Int32Parameters
locationlocation coordinate
zoomdouble zoom value
Return Value
tile feature count
-
Get the count of features in the tile at the location coordinate and zoom level
Declaration
Objective-C
- (int)tileFeatureCountWithLocationCoordinate:(CLLocationCoordinate2D)location andZoom:(int)zoom;Swift
func tileFeatureCount(with location: CLLocationCoordinate2D, andZoom zoom: Int32) -> Int32Parameters
locationlocation coordinate
zoomzoom value
Return Value
tile feature count
-
Get the count of features in the tile at the point and zoom level
Declaration
Objective-C
- (int)tileFeatureCountWithPoint:(SFPoint *)point andDoubleZoom:(double)zoom;Swift
func tileFeatureCount(with point: SFPoint!, andDoubleZoom zoom: Double) -> Int32Parameters
pointpoint
zoomdouble zoom value
Return Value
tile feature count
-
Get the count of features in the tile at the point and zoom level
Declaration
Objective-C
- (int)tileFeatureCountWithPoint:(SFPoint *)point andZoom:(int)zoom;Swift
func tileFeatureCount(with point: SFPoint!, andZoom zoom: Int32) -> Int32Parameters
pointpoint
zoomzoom value
Return Value
tile feature count
-
Get the WGS84 bounds of the tile at the map point and zoom level
Declaration
Objective-C
+ (GPKGBoundingBox *)tileBoundsWithMapPoint:(GPKGMapPoint *)mapPoint andDoubleZoom:(double)zoom;Swift
class func tileBounds(with mapPoint: GPKGMapPoint!, andDoubleZoom zoom: Double) -> GPKGBoundingBox!Parameters
mapPointmap point
zoomzoom level
Return Value
WGS84 bounding box
-
Get the WGS84 bounds of the tile at the map point and zoom level
Declaration
Objective-C
+ (GPKGBoundingBox *)tileBoundsWithMapPoint:(GPKGMapPoint *)mapPoint andZoom:(int)zoom;Swift
class func tileBounds(with mapPoint: GPKGMapPoint!, andZoom zoom: Int32) -> GPKGBoundingBox!Parameters
mapPointmap point
zoomzoom level
Return Value
WGS84 bounding box
-
Get the WGS84 bounds of the tile at the mapkit map point and zoom level
Declaration
Objective-C
+ (GPKGBoundingBox *)tileBoundsWithMKMapPoint:(MKMapPoint)mapPoint andDoubleZoom:(double)zoom;Swift
class func tileBounds(with mapPoint: MKMapPoint, andDoubleZoom zoom: Double) -> GPKGBoundingBox!Parameters
mapPointmap point
zoomzoom level
Return Value
WGS84 bounding box
-
Get the WGS84 bounds of the tile at the mapkit map point and zoom level
Declaration
Objective-C
+ (GPKGBoundingBox *)tileBoundsWithMKMapPoint:(MKMapPoint)mapPoint andZoom:(int)zoom;Swift
class func tileBounds(with mapPoint: MKMapPoint, andZoom zoom: Int32) -> GPKGBoundingBox!Parameters
mapPointmap point
zoomzoom level
Return Value
WGS84 bounding box
-
Get the WGS84 bounds of the tile at the location coordinate and zoom level
Declaration
Objective-C
+ (GPKGBoundingBox *)tileBoundsWithLocationCoordinate: (CLLocationCoordinate2D)location andDoubleZoom:(double)zoom;Swift
class func tileBounds(with location: CLLocationCoordinate2D, andDoubleZoom zoom: Double) -> GPKGBoundingBox!Parameters
locationlocation coordinate
zoomzoom level
Return Value
WGS84 bounding box
-
Get the WGS84 bounds of the tile at the location coordinate and zoom level
Declaration
Objective-C
+ (GPKGBoundingBox *)tileBoundsWithLocationCoordinate: (CLLocationCoordinate2D)location andZoom:(int)zoom;Swift
class func tileBounds(with location: CLLocationCoordinate2D, andZoom zoom: Int32) -> GPKGBoundingBox!Parameters
locationlocation coordinate
zoomzoom level
Return Value
WGS84 bounding box
-
Get the WGS84 bounds of the tile at the point and zoom level
Declaration
Objective-C
+ (GPKGBoundingBox *)tileBoundsWithPoint:(SFPoint *)point andDoubleZoom:(double)zoom;Swift
class func tileBounds(with point: SFPoint!, andDoubleZoom zoom: Double) -> GPKGBoundingBox!Parameters
pointpoint
zoomzoom level
Return Value
WGS84 bounding box
-
Get the WGS84 bounds of the tile at the point and zoom level
Declaration
Objective-C
+ (GPKGBoundingBox *)tileBoundsWithPoint:(SFPoint *)point andZoom:(int)zoom;Swift
class func tileBounds(with point: SFPoint!, andZoom zoom: Int32) -> GPKGBoundingBox!Parameters
pointpoint
zoomzoom level
Return Value
WGS84 bounding box
-
Get the WGS84 bounds of the tile at the map point and zoom level
Declaration
Objective-C
+ (GPKGBoundingBox *)tileBoundsInProjection:(PROJProjection *)projection withMapPoint:(GPKGMapPoint *)mapPoint andDoubleZoom:(double)zoom;Swift
class func tileBounds(in projection: PROJProjection!, with mapPoint: GPKGMapPoint!, andDoubleZoom zoom: Double) -> GPKGBoundingBox!Parameters
projectiondesired bounding box projection
mapPointmap point
zoomzoom level
Return Value
WGS84 bounding box
-
Get the WGS84 bounds of the tile at the map point and zoom level
Declaration
Objective-C
+ (GPKGBoundingBox *)tileBoundsInProjection:(PROJProjection *)projection withMapPoint:(GPKGMapPoint *)mapPoint andZoom:(int)zoom;Swift
class func tileBounds(in projection: PROJProjection!, with mapPoint: GPKGMapPoint!, andZoom zoom: Int32) -> GPKGBoundingBox!Parameters
projectiondesired bounding box projection
mapPointmap point
zoomzoom level
Return Value
WGS84 bounding box
-
Get the WGS84 bounds of the tile at the mapkit map point and zoom level
Declaration
Objective-C
+ (GPKGBoundingBox *)tileBoundsInProjection:(PROJProjection *)projection withMKMapPoint:(MKMapPoint)mapPoint andDoubleZoom:(double)zoom;Swift
class func tileBounds(in projection: PROJProjection!, with mapPoint: MKMapPoint, andDoubleZoom zoom: Double) -> GPKGBoundingBox!Parameters
projectiondesired bounding box projection
mapPointmap point
zoomzoom level
Return Value
WGS84 bounding box
-
Get the WGS84 bounds of the tile at the mapkit map point and zoom level
Declaration
Objective-C
+ (GPKGBoundingBox *)tileBoundsInProjection:(PROJProjection *)projection withMKMapPoint:(MKMapPoint)mapPoint andZoom:(int)zoom;Swift
class func tileBounds(in projection: PROJProjection!, with mapPoint: MKMapPoint, andZoom zoom: Int32) -> GPKGBoundingBox!Parameters
projectiondesired bounding box projection
mapPointmap point
zoomzoom level
Return Value
WGS84 bounding box
-
Get the WGS84 bounds of the tile at the location coordinate and zoom level
Declaration
Objective-C
+ (GPKGBoundingBox *)tileBoundsInProjection:(PROJProjection *)projection withLocationCoordinate:(CLLocationCoordinate2D)location andDoubleZoom:(double)zoom;Swift
class func tileBounds(in projection: PROJProjection!, with location: CLLocationCoordinate2D, andDoubleZoom zoom: Double) -> GPKGBoundingBox!Parameters
projectiondesired bounding box projection
locationlocation coordinate
zoomzoom level
Return Value
WGS84 bounding box
-
Get the WGS84 bounds of the tile at the location coordinate and zoom level
Declaration
Objective-C
+ (GPKGBoundingBox *)tileBoundsInProjection:(PROJProjection *)projection withLocationCoordinate:(CLLocationCoordinate2D)location andZoom:(int)zoom;Swift
class func tileBounds(in projection: PROJProjection!, with location: CLLocationCoordinate2D, andZoom zoom: Int32) -> GPKGBoundingBox!Parameters
projectiondesired bounding box projection
locationlocation coordinate
zoomzoom level
Return Value
WGS84 bounding box
-
Get the WGS84 bounds of the tile at the point and zoom level
Declaration
Objective-C
+ (GPKGBoundingBox *)tileBoundsInProjection:(PROJProjection *)projection withPoint:(SFPoint *)point andDoubleZoom:(double)zoom;Swift
class func tileBounds(in projection: PROJProjection!, with point: SFPoint!, andDoubleZoom zoom: Double) -> GPKGBoundingBox!Parameters
projectiondesired bounding box projection
pointpoint
zoomzoom level
Return Value
WGS84 bounding box
-
Get the WGS84 bounds of the tile at the point and zoom level
Declaration
Objective-C
+ (GPKGBoundingBox *)tileBoundsInProjection:(PROJProjection *)projection withPoint:(SFPoint *)point andZoom:(int)zoom;Swift
class func tileBounds(in projection: PROJProjection!, with point: SFPoint!, andZoom zoom: Int32) -> GPKGBoundingBox!Parameters
projectiondesired bounding box projection
pointpoint
zoomzoom level
Return Value
WGS84 bounding box
-
Determine if the provided count of features in the tile is more than the configured max features per tile
Declaration
Objective-C
- (BOOL)moreThanMaxFeatures:(int)tileFeaturesCount;Swift
func moreThanMaxFeatures(_ tileFeaturesCount: Int32) -> BoolParameters
tileFeaturesCounttile feature count
Return Value
true if more than the max features, false if less than or no configured max features
-
Query for features in the WGS84 projected bounding box
Declaration
Objective-C
- (GPKGFeatureIndexResults *)queryFeaturesWithBoundingBox: (GPKGBoundingBox *)boundingBox;Swift
func queryFeatures(with boundingBox: GPKGBoundingBox!) -> GPKGFeatureIndexResults!Parameters
boundingBoxquery bounding box in WGS84 projection
Return Value
feature index results, must be closed
-
Query for features in the WGS84 projected bounding box
Declaration
Objective-C
- (GPKGFeatureIndexResults *) queryFeaturesWithColumns:(NSArray<NSString *> *)columns andBoundingBox:(GPKGBoundingBox *)boundingBox;Swift
func queryFeatures(withColumns columns: [String]!, andBoundingBox boundingBox: GPKGBoundingBox!) -> GPKGFeatureIndexResults!Parameters
columnscolumns
boundingBoxquery bounding box in WGS84 projection
Return Value
feature index results, must be closed
-
Query for features in the bounding box
Declaration
Objective-C
- (GPKGFeatureIndexResults *) queryFeaturesWithBoundingBox:(GPKGBoundingBox *)boundingBox inProjection:(PROJProjection *)projection;Swift
func queryFeatures(with boundingBox: GPKGBoundingBox!, in projection: PROJProjection!) -> GPKGFeatureIndexResults!Parameters
boundingBoxquery bounding box
projectionbounding box projection
Return Value
feature index results, must be closed
-
Query for features in the bounding box
Declaration
Objective-C
- (GPKGFeatureIndexResults *) queryFeaturesWithColumns:(NSArray<NSString *> *)columns andBoundingBox:(GPKGBoundingBox *)boundingBox inProjection:(PROJProjection *)projection;Swift
func queryFeatures(withColumns columns: [String]!, andBoundingBox boundingBox: GPKGBoundingBox!, in projection: PROJProjection!) -> GPKGFeatureIndexResults!Parameters
columnscolumns
boundingBoxquery bounding box
projectionbounding box projection
Return Value
feature index results, must be closed
-
Check if the features are indexed
Declaration
Objective-C
- (BOOL)isIndexed;Swift
func isIndexed() -> BoolReturn Value
true if indexed
-
Get a max features information message
Declaration
Objective-C
- (NSString *)buildMaxFeaturesInfoMessageWithTileFeaturesCount: (int)tileFeaturesCount;Swift
func buildMaxFeaturesInfoMessage(withTileFeaturesCount tileFeaturesCount: Int32) -> String!Parameters
tileFeaturesCounttile features count
Return Value
max features message
-
Perform a query based upon the map click location and build a info message
Declaration
Objective-C
- (NSString *)buildMapClickMessageWithCGPoint:(CGPoint)point andMapView:(MKMapView *)mapView;Swift
func buildMapClickMessage(with point: CGPoint, andMapView mapView: MKMapView!) -> String!Parameters
pointcg point
mapViewmap view
Return Value
information message on what was clicked, or nil
-
Perform a query based upon the map click location and build a info message
Declaration
Objective-C
- (NSString *)buildMapClickMessageWithLocationCoordinate: (CLLocationCoordinate2D)locationCoordinate andMapView:(MKMapView *)mapView;Swift
func buildMapClickMessage(with locationCoordinate: CLLocationCoordinate2D, andMapView mapView: MKMapView!) -> String!Parameters
locationCoordinatelocation coordinate
mapViewmap view
Return Value
information message on what was clicked, or nil
-
Perform a query based upon the map click location and build a info message
Declaration
Objective-C
- (NSString *)buildMapClickMessageWithCGPoint:(CGPoint)point andMapView:(MKMapView *)mapView andProjection:(PROJProjection *)projection;Swift
func buildMapClickMessage(with point: CGPoint, andMapView mapView: MKMapView!, andProjection projection: PROJProjection!) -> String!Parameters
pointcg point
mapViewmap view
projectiondesired geometry projection
Return Value
information message on what was clicked, or nil
-
Perform a query based upon the map click location and build a info message
Declaration
Objective-C
- (NSString *)buildMapClickMessageWithLocationCoordinate: (CLLocationCoordinate2D)locationCoordinate andMapView:(MKMapView *)mapView andProjection: (PROJProjection *)projection;Swift
func buildMapClickMessage(with locationCoordinate: CLLocationCoordinate2D, andMapView mapView: MKMapView!, andProjection projection: PROJProjection!) -> String!Parameters
locationCoordinatelocation coordinate
mapViewmap view
projectiondesired geometry projection
Return Value
information message on what was clicked, or nil
-
Perform a query based upon the map click location and build a info message
Declaration
Objective-C
- (NSString *)buildMapClickMessageWithLocationCoordinate: (CLLocationCoordinate2D)locationCoordinate andZoom:(double)zoom andMapBounds: (GPKGBoundingBox *)mapBounds;Swift
func buildMapClickMessage(with locationCoordinate: CLLocationCoordinate2D, andZoom zoom: Double, andMapBounds mapBounds: GPKGBoundingBox!) -> String!Parameters
locationCoordinatelocation coordinate
zoomcurrent zoom level
mapBoundsmap view bounds
Return Value
information message on what was clicked, or nil
-
Perform a query based upon the map click location and build a info message
Declaration
Objective-C
- (NSString *) buildMapClickMessageWithLocationCoordinate: (CLLocationCoordinate2D)locationCoordinate andZoom:(double)zoom andMapBounds:(GPKGBoundingBox *)mapBounds andProjection:(PROJProjection *)projection;Swift
func buildMapClickMessage(with locationCoordinate: CLLocationCoordinate2D, andZoom zoom: Double, andMapBounds mapBounds: GPKGBoundingBox!, andProjection projection: PROJProjection!) -> String!Parameters
locationCoordinatelocation coordinate
zoomcurrent zoom level
mapBoundsmap view bounds
projectiondesired geometry projection
Return Value
information message on what was clicked, or nil
-
Perform a query based upon the map click location and build a info message
Declaration
Objective-C
- (NSString *) buildMapClickMessageWithLocationCoordinate: (CLLocationCoordinate2D)locationCoordinate andZoom:(double)zoom andMapBounds:(GPKGBoundingBox *)mapBounds andTolerance:(GPKGMapTolerance *)tolerance;Swift
func buildMapClickMessage(with locationCoordinate: CLLocationCoordinate2D, andZoom zoom: Double, andMapBounds mapBounds: GPKGBoundingBox!, andTolerance tolerance: GPKGMapTolerance!) -> String!Parameters
locationCoordinatelocation coordinate
zoomcurrent zoom level
mapBoundsmap view bounds
tolerancedistance and screen tolerance
Return Value
information message on what was clicked, or nil
-
Perform a query based upon the map click location and build a info message
Declaration
Objective-C
- (NSString *) buildMapClickMessageWithLocationCoordinate: (CLLocationCoordinate2D)locationCoordinate andZoom:(double)zoom andMapBounds:(GPKGBoundingBox *)mapBounds andTolerance:(GPKGMapTolerance *)tolerance andProjection:(PROJProjection *)projection;Swift
func buildMapClickMessage(with locationCoordinate: CLLocationCoordinate2D, andZoom zoom: Double, andMapBounds mapBounds: GPKGBoundingBox!, andTolerance tolerance: GPKGMapTolerance!, andProjection projection: PROJProjection!) -> String!Parameters
locationCoordinatelocation coordinate
zoomcurrent zoom level
mapBoundsmap view bounds
tolerancedistance and screen tolerance
projectiondesired geometry projection
Return Value
information message on what was clicked, or nil
-
Perform a query based upon the map click location and build feature table data
Declaration
Objective-C
- (GPKGFeatureTableData *)buildMapClickTableDataWithCGPoint:(CGPoint)point andMapView: (MKMapView *)mapView;Swift
func buildMapClickTableData(with point: CGPoint, andMapView mapView: MKMapView!) -> GPKGFeatureTableData!Parameters
pointcg point
mapViewmap view
Return Value
table data on what was clicked, or nil
-
Perform a query based upon the map click location and build feature table data
Declaration
Objective-C
- (GPKGFeatureTableData *) buildMapClickTableDataWithLocationCoordinate: (CLLocationCoordinate2D)locationCoordinate andMapView:(MKMapView *)mapView;Swift
func buildMapClickTableData(with locationCoordinate: CLLocationCoordinate2D, andMapView mapView: MKMapView!) -> GPKGFeatureTableData!Parameters
locationCoordinatelocation coordinate
mapViewmap view
Return Value
table data on what was clicked, or nil
-
Perform a query based upon the map click location and build feature table data
Declaration
Objective-C
- (GPKGFeatureTableData *)buildMapClickTableDataWithCGPoint:(CGPoint)point andMapView:(MKMapView *)mapView andProjection: (PROJProjection *)projection;Swift
func buildMapClickTableData(with point: CGPoint, andMapView mapView: MKMapView!, andProjection projection: PROJProjection!) -> GPKGFeatureTableData!Parameters
pointcg point
mapViewmap view
projectiondesired geometry projection
Return Value
table data on what was clicked, or nil
-
Perform a query based upon the map click location and build feature table data
Declaration
Objective-C
- (GPKGFeatureTableData *) buildMapClickTableDataWithLocationCoordinate: (CLLocationCoordinate2D)locationCoordinate andMapView:(MKMapView *)mapView andProjection:(PROJProjection *)projection;Swift
func buildMapClickTableData(with locationCoordinate: CLLocationCoordinate2D, andMapView mapView: MKMapView!, andProjection projection: PROJProjection!) -> GPKGFeatureTableData!Parameters
locationCoordinatelocation coordinate
mapViewmap view
projectiondesired geometry projection
Return Value
table data on what was clicked, or nil
-
Perform a query based upon the map click location and build feature table data
Declaration
Objective-C
- (GPKGFeatureTableData *) buildMapClickTableDataWithLocationCoordinate: (CLLocationCoordinate2D)locationCoordinate andZoom:(double)zoom andMapBounds:(GPKGBoundingBox *)mapBounds;Swift
func buildMapClickTableData(with locationCoordinate: CLLocationCoordinate2D, andZoom zoom: Double, andMapBounds mapBounds: GPKGBoundingBox!) -> GPKGFeatureTableData!Parameters
locationCoordinatelocation coordinate
zoomcurrent zoom level
mapBoundsmap view bounds
Return Value
table data on what was clicked, or nil
-
Perform a query based upon the map click location and build feature table data
Declaration
Objective-C
- (GPKGFeatureTableData *) buildMapClickTableDataWithLocationCoordinate: (CLLocationCoordinate2D)locationCoordinate andZoom:(double)zoom andMapBounds:(GPKGBoundingBox *)mapBounds andProjection:(PROJProjection *)projection;Swift
func buildMapClickTableData(with locationCoordinate: CLLocationCoordinate2D, andZoom zoom: Double, andMapBounds mapBounds: GPKGBoundingBox!, andProjection projection: PROJProjection!) -> GPKGFeatureTableData!Parameters
locationCoordinatelocation coordinate
zoomcurrent zoom level
mapBoundsmap view bounds
projectiondesired geometry projection
Return Value
table data on what was clicked, or nil
-
Perform a query based upon the map click location and build feature table data
Declaration
Objective-C
- (GPKGFeatureTableData *) buildMapClickTableDataWithLocationCoordinate: (CLLocationCoordinate2D)locationCoordinate andZoom:(double)zoom andMapBounds:(GPKGBoundingBox *)mapBounds andTolerance:(GPKGMapTolerance *)tolerance;Swift
func buildMapClickTableData(with locationCoordinate: CLLocationCoordinate2D, andZoom zoom: Double, andMapBounds mapBounds: GPKGBoundingBox!, andTolerance tolerance: GPKGMapTolerance!) -> GPKGFeatureTableData!Parameters
locationCoordinatelocation coordinate
zoomcurrent zoom level
mapBoundsmap view bounds
tolerancedistance and screen tolerance
Return Value
table data on what was clicked, or nil
-
Perform a query based upon the map click location and build feature table data
Declaration
Objective-C
- (GPKGFeatureTableData *) buildMapClickTableDataWithLocationCoordinate: (CLLocationCoordinate2D)locationCoordinate andZoom:(double)zoom andMapBounds:(GPKGBoundingBox *)mapBounds andTolerance:(GPKGMapTolerance *)tolerance andProjection:(PROJProjection *)projection;Swift
func buildMapClickTableData(with locationCoordinate: CLLocationCoordinate2D, andZoom zoom: Double, andMapBounds mapBounds: GPKGBoundingBox!, andTolerance tolerance: GPKGMapTolerance!, andProjection projection: PROJProjection!) -> GPKGFeatureTableData!Parameters
locationCoordinatelocation coordinate
zoomcurrent zoom level
mapBoundsmap view bounds
tolerancedistance and screen tolerance
projectiondesired geometry projection
Return Value
table data on what was clicked, or nil
View on GitHub
GPKGFeatureOverlayQuery Class Reference