LatLng

@objcMembers
public class LatLng : NSObject

A pair of (latitude, longitude). Used in geo-search.

  • lat

    Latitude.

    Declaration

    Swift

    public let lat: Double
  • lng

    Longitude.

    Declaration

    Swift

    public let lng: Double
  • Create a geo location.

    Declaration

    Swift

    @objc
    public init(lat: Double, lng: Double)

    Parameters

    lat

    Latitude.

    lng

    Longitude.