NaviLocation

public struct NaviLocation : Codable

카카오내비에서 장소를 표현합니다.

  • 장소 이름. 예) 우리집, 회사

    Declaration

    Swift

    public let name: String
  • x

    경도 좌표

    Note

    사용할 좌표계는 NaviOption.coordType 으로 설정합니다. 기본 좌표계(KATEC)를 사용하지 않을 경우 API 호출 시 옵션 객체를 생성하고 원하는 좌표계를 설정한 후 파라미터로 전달해야 합니다.

    Declaration

    Swift

    public let x: String
  • y

    위도 좌표

    Note

    사용할 좌표계는 NaviOption.coordType 으로 설정합니다. 기본 좌표계(KATEC)를 사용하지 않을 경우 API 호출 시 옵션 객체를 생성하고 원하는 좌표계를 설정한 후 파라미터로 전달해야 합니다.

    Declaration

    Swift

    public let y: String
  • 도착링크 옵션 “G”

    Declaration

    Swift

    public let rpflag: String?
  • 장소 객체를 생성합니다.

    Declaration

    Swift

    public init(name : String,
                x : String,
                y : String,
                rpflag: String? = nil)