Bicycle
Search route for bicycle.
GET
https://maps.mogoscorp.com/api/v2/route
Request
key
Your API Key.
string
origin
Start location
(Longitude, Latitude).
string
destination
Destination location
(Longitude, Latitude).
string
rpoption
Options for search route.
1: Recommended 1
int
cartype
Type of vehicle. 141: Bicycle 142: Tricycle
int
reqtype
Type of route request. 0: Initial RP request 1: Retry RP request on route deviation 2: User RP request 3: Periodic RP request 4: Request Route detail (Default: 0)
int
carspeed
Speed of vehicle. range: 0 ~ 255 (Default : 0)
int
angle
Angle of vehicle's direction. range : 0 ~ 359 (Default : 0)
int
unixtime
Time requested for search route
string
gmtoffset
Timezone
string
traffic
Apply traffic information or not.
0: Ignore
1: Apply traffic information
(Default: 0)
int
pattern
Apply pattern information or not.
0: Ignore
1: Reflect traffic information
(Default: 0)
int
fueltype
Fuel type of vehicle. 0: Gasoline
1: Diesel
2. NGV
3: LPG
4: Hydrogen
5: Electric (Default : 0)
int
startname
The name of start location.
string
destname
The name of destination location.
string
waypoints
Waypoint location (Longitude, Latitude). For multiple waypoints, list them in order in the query string.
string
Example
Response
Example
Last updated