MBMCoordinateInfo


@interface MBMCoordinateInfo : NSObject

Represents the coordinate information returned by the coordinateInfoForPixel or coordinatesInfoForPixels methods.

  • Unavailable

    Undocumented

    Declaration

    Objective-C

    - (nonnull instancetype)init NS_UNAVAILABLE;
  • Unavailable

    Undocumented

    Declaration

    Objective-C

    + (nonnull instancetype)new NS_UNAVAILABLE;
  • Undocumented

    Declaration

    Objective-C

    - (nonnull instancetype)initWithCoordinate:(CLLocationCoordinate2D)coordinate
                                   isOnSurface:(BOOL)isOnSurface;

    Swift

    init(coordinate: CLLocationCoordinate2D, isOnSurface: Bool)
  • The geographical coordinate corresponding to the given screen coordinate. This will be the closest position projected onto the map surface, in case the screen coordinate does not intersect with the map surface.

    Declaration

    Objective-C

    @property (nonatomic, readonly) CLLocationCoordinate2D coordinate;

    Swift

    var coordinate: CLLocationCoordinate2D { get }
  • A flag indicating whether the screen coordinate is on the map surface or not.

    Declaration

    Objective-C

    @property (nonatomic, readonly, getter=isIsOnSurface) BOOL isOnSurface;

    Swift

    var isIsOnSurface: Bool { get }