API that runs the Kakao Navi app. Provides destination guidance, destination sharing.
Methods
-
<static> share(settings)
-
After running the Kakao Navi app, share the destination.
Parameters:
Name Type Description settings
Object Properties
Name Type Argument Default Description name
String Destination name
x
Number X coordinates (longitude) of destination. Values of wgs84 or katec coordinate system
y
Nubmer Y coordinates (latitude) of the destination. Values of wgs84 or katec coordinate systems
coordType
"wgs84" | "katec" <optional>
"katec" coordinate system(wgs84, katec)
-
<static> start(settings)
-
Run the Kakao Navi app and start the directions.
Parameters:
Name Type Description settings
Object Options when running the Kakao Navi app
Properties
Name Type Argument Default Description name
String Destination name
x
Number X coordinates (longitude) of destination. Values of wgs84 or katec coordinate system
y
Number Y coordinates (latitude) of the destination. Values of wgs84 or katec coordinate systems
coordType
"wgs84" | "katec" <optional>
"katec" coordinate system(wgs84, katec)
vehicleType
Number <optional>
1 차종(1: 1종(승용차/소형승합차/소형화물화), 2: 2종(중형승합차/중형화물차), 3: 3종(대형승합차/2축 대형화물차), 4: 4종(3축 대형화물차), 5: 5종(4축이상 특수화물차), 6: 6종(경차), 7: 이륜차)
rpOption
Number <optional>
1 경로옵션(1:빠른길, 2:무료도로, 3:최단거리, 4:자동전용제회, 5:큰길우선, 6:고속도로우선, 8:일반도로우선)
routeInfo
Boolean <optional>
false View the full path view
sX
Number <optional>
Starting coordinate x
sY
Number <optional>
Starting coordinate y
sAngle
Number <optional>
Starting angle(0~359)
returnUri
String <optional>
URI to be called after the end of the road guidance (to end the entire path view)
viaPoints
Array.<Kakao.Navi.ViaPoint> <optional>
Via points (up to three)
Type Definitions
-
ViaPoint
-
Via Point Object
Properties:
Name Type Description name
String Name of via point
x
Number Via x point
y
Nubmer Via y point