GPKGMapTolerance
Objective-C
@interface GPKGMapTolerance : NSObject
Swift
class GPKGMapTolerance : NSObject
Map tolerance values distance and screen distances
-
Distance tolerance in meters
Declaration
Objective-C
@property (nonatomic) double distance;
Swift
var distance: Double { get set }
-
Screen tolerance in pixels
Declaration
Objective-C
@property (nonatomic) double screen;
Swift
var screen: Double { get set }
-
Initialize
Declaration
Objective-C
- (instancetype)init;
Swift
init!()
Return Value
new map tolerance
-
Initialize
Declaration
Objective-C
- (instancetype)initWithDistance:(double)distance andScreen:(double)screen;
Swift
init!(distance: Double, andScreen screen: Double)
Parameters
distance
distance tolerance in meters
screen
screen tolerance in pixels
Return Value
new map tolerance