MPPositionResult

@interface MPPositionResult

Position result model

  • The geographic point geometry of the position

    Declaration

    Objective-C

    @property (assign, readwrite, atomic) MPPoint *geometry;

    Swift

    var geometry: MPPoint! { get set }
  • Properties dictionary

    Declaration

    Objective-C

    @property (assign, readwrite, atomic) NSMutableDictionary *properties;

    Swift

    var properties: NSMutableDictionary! { get set }
  • Type property

    Declaration

    Objective-C

    @property (assign, readwrite, atomic) NSString *type;

    Swift

    var type: String! { get set }
  • Position provider that delivered this position

    Declaration

    Objective-C

    @property (assign, readwrite, atomic) id provider;

    Swift

    var provider: Any! { get set }
  • Get the probability of the position. This is a radius in meters. Can be used to generate an approximation circle.

    Declaration

    Objective-C

    - (double)getProbability;

    Swift

    func getProbability() -> Double

    Return Value

    A double representing the positions accuracy in meters.

  • Get the roundtrip property

    Declaration

    Objective-C

    - (double)getRoundtrip;

    Swift

    func getRoundtrip() -> Double

    Return Value

    The roundtrip value.

  • Get the heading in degrees from north

    Declaration

    Objective-C

    - (double)getHeadingDegrees;

    Swift

    func getHeadingDegrees() -> Double

    Return Value

    The heading value in degrees from north as a double

  • Get the age of the this position result; the time in seconds since the position was first determined.

    Declaration

    Objective-C

    - (NSNumber *)getAge;

    Swift

    func getAge() -> NSNumber!

    Return Value

    The age property as a number

  • Get the floor index property

    Declaration

    Objective-C

    - (NSNumber *)getFloor;

    Swift

    func getFloor() -> NSNumber!

    Return Value

    The floor index property

  • Undocumented

    Declaration

    Objective-C

    @interface MPPositionResult
  • Undocumented

    Declaration

    Objective-C

    @interface MPPositionResult