MaplySelectedObject
Objective-C
@interface MaplySelectedObject : NSObject
Swift
class MaplySelectedObject : NSObject
When selecting multiple objects, one or more of these is returned.
When you implement one of the selection delegates that takes multiple objects, you’ll get an NSArray of these things.
-
Object the user selected This is the original object the user passed in when adding it to the globe or map.
Declaration
Objective-C
@property (nonatomic) id _Nullable selectedObj;
Swift
var selectedObj: Any? { get set }
-
Distance from where the user tapped to the closest part of the object on the screen
Declaration
Objective-C
@property double screenDist;
Swift
var screenDist: Double { get set }
-
Distance from the user’s viewpoint to the center of the object in 3-space. Use this for sorting.
Declaration
Objective-C
@property double zDist;
Swift
var zDist: Double { get set }
-
Set if this was part of a cluster
Declaration
Objective-C
@property _Bool cluster;
Swift
var cluster: Bool { get set }