NaviLocation
public struct NaviLocation : Codable
카카오내비에서 장소를 표현합니다.
-
장소 이름. 예) 우리집, 회사
Declaration
Swift
public let name: String
-
경도 좌표
Note
사용할 좌표계는NaviOptions.coordType
으로 설정합니다. 기본 좌표계(KATEC)를 사용하지 않을 경우 API 호출 시 옵션 객체 생성하고 원하는 좌표계를 설정한 후 파라미터로 전달해야 합니다.Declaration
Swift
public let x: Int64
-
위도 좌표
Note
사용할 좌표계는NaviOptions.coordType
으로 설정합니다. 기본 좌표계(KATEC)를 사용하지 않을 경우 API 호출 시 옵션 객체 생성하고 원하는 좌표계를 설정한 후 파라미터로 전달해야 합니다.Declaration
Swift
public let y: Int64
-
도착링크 옵션
G
Declaration
Swift
public let rpflag: String?
-
장소 객체를 생성합니다.
Declaration
Swift
public init(name : String, x : Int64, y : Int64, rpflag: String? = nil)