MBMScreenCoordinate


@interface MBMScreenCoordinate : NSObject

Describes the coordinate on the screen, measured from top to bottom and from left to right. Note: the map uses screen coordinate units measured in platform pixels.

  • 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)initWithX:(double)x
                                    y:(double)y;

    Swift

    init(x: Double, y: Double)
  • x

    A value representing the x position of this coordinate.

    Declaration

    Objective-C

    @property (nonatomic, readonly) double x;

    Swift

    var x: Double { get }
  • y

    A value representing the y position of this coordinate.

    Declaration

    Objective-C

    @property (nonatomic, readonly) double y;

    Swift

    var y: Double { get }
  • Undocumented

    Declaration

    Objective-C

    - (BOOL)isEqualToScreenCoordinate:(nonnull MBMScreenCoordinate *)other;

    Swift

    func isEqual(to other: ScreenCoordinate) -> Bool