Predicted route which is certain time in the future
Predict where a vehicle or motorbike found in a particular place will arrive after a certain time and the route to reach it.
POST
https://maps.mogoscorp.com/api/v2/route
JSON
Request
key
Your API Key.
string
origin
Start location
(Longitude, Latitude).
string
destination
Destination location
(Longitude, Latitude).
string
option
Options for search route and fixed "1".
string
option_ex
Additional option for search route and fixed "1".
string
cartype
Type of vehicle. 1: passenger car 127: motorbike
string
case
Type of prediction route. single route : 1 (default) multi route : 2
int
lang
Language type of search route result en: english (default) th : thailand
string
returntype
Type of search route result. json : (default)
string
Example
{
"key": <API KEY>,
"origin": "37.483294848898396,126.89654749206602",
"time": "10",
"option": "1",
"option_ex": "1",
"cartype": "1",
"case": "3",
"lang": "th",
"returntype": "json"
}
Response
Example
The MOGOS Maps API requires an API Key, which can be obtained from the MOGOS Console website or contact [email protected].
Last updated