MBLocation

@objc
public class MBLocation : NSObject

Location (geocoordinates) representing a point on earth

  • CoreLocation coordinate CLLocationCoordinate2D of this place

    Declaration

    Swift

    public var coordinate: CLLocationCoordinate2D { get }
  • CoreLocation location CLLocation of this place

    Declaration

    Swift

    public var location: CLLocation { get }
  • Compare geo position (latitude and longitude) of both locations

    Declaration

    Swift

    public static func == (lhs: MBLocation, rhs: MBLocation) -> Bool