TGLabelPickResult


@interface TGLabelPickResult : NSObject

Data structure holding the result of a label selection that occured on the map view.

See -[TGMapView pickLabelAt:] and [TGMapViewDelegate mapView:didSelectLabel:atScreenPosition:].

  • The geographic coordinates of the selected label

    Declaration

    Objective-C

    @property (readonly, nonatomic) CLLocationCoordinate2D coordinate;

    Swift

    var coordinate: CLLocationCoordinate2D { get }
  • The type of the label (text or icon)

    Declaration

    Objective-C

    @property (readonly, nonatomic) TGLabelType type;

    Swift

    var type: TGLabelType { get }
  • The set of data properties attached with the label

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic) TGFeatureProperties *_Nonnull properties;

    Swift

    var properties: [String : String] { get }