Skip to content

Instantly share code, notes, and snippets.

View maplink-master's full-sized avatar

Maplink maplink-master

  • MapLink
  • São Paulo
View GitHub Profile
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
{
"vehicle_routing": {
"name": "test",
"vehicle_types": [
{
"name": "vehicle",
"capacities": [
50.0
],
"start_point": {
{
"status": {
"code": "OK"
},
"routes": [
{
"routeIdentification": "main-route",
"summary": {
"duration": 18807,
"arrivalTime": "2016-04-02T13:13:27",
{
"status": {
"code": "OK"
},
"routes": [
{
"routeIdentification": "main-route",
"overviewPolyline": {
"type": "FeatureCollection",
"features": [
{
"status": {
"code": "OK"
},
"routes": [
{
"routeIdentification": "main-route",
"overviewPolyline": {
"type": "FeatureCollection",
"features": [
Make a Left Hand Loop
Make a U-Turn
Turn Hard Left
Turn Left
Bear Left
Continue
Bear Right
Turn Right
Turn Hard Right
Make a Right U-Turn
{
"status": {
"code": "OK"
},
"routes": [
{
"routeIdentification": "main-route",
"overviewPolyline": {
"type": "FeatureCollection",
"features": [
{ /*Response Status*/
"status": {
"code": "OK"
},
/*Object array containing results specification of the each route */
/*If not requested alternative route, the array will contain only one route object*/
"routes": [
{ /*Route Identification (Identification name is different to each alternative route)*/
"routeIdentification": "main-route",
/*Object containing result summary*/