VisionLatitudeLongitude

class VisionLatitudeLongitude : NSObject

An object representing a latitude/longitude pair. This is expressed as a pair of doubles representing degrees latitude and degrees longitude. Unless specified otherwise, this must conform to the WGS84 standard. Values must be within normalized ranges.

  • The latitude in degrees. It must be in the range [-90.0, +90.0]. The value is double.

    Declaration

    Swift

    var latitude: NSNumber? { get set }
  • The longitude in degrees. It must be in the range [-180.0, +180.0]. The value is double.

    Declaration

    Swift

    var longitude: NSNumber? { get set }
  • Initializes a VisionLatitudeLongitude with the given latitude and longitude.

    Declaration

    Swift

    init(latitude: NSNumber?, longitude: NSNumber?)

    Parameters

    latitude

    Latitude of the location. The value is double.

    longitude

    Longitude of the location. The value is double.

    Return Value

    A VisionLatitudeLongitude instance with the given latigude and longitude.

  • Unavailable.