Skip to content

Instantly share code, notes, and snippets.

@gustavompo
Last active August 29, 2015 14:02
Show Gist options
  • Save gustavompo/2952c23b2475bdfa9325 to your computer and use it in GitHub Desktop.
Save gustavompo/2952c23b2475bdfa9325 to your computer and use it in GitHub Desktop.
Request: {
points: [],
controls: {
optimize: [true|false],
mode:["driving"|"bicycling"|"walking"|"transit"],
time:{
departure:"",
arrival:""
}
drivingControls:{
style:["shortest"|"fastest"],
map:{
id:"lbslocal-rotas",
properties:["eds=XXX,costAdjustmentForRoadType=YYYY,control=ZZZZ"]
},
avoidTraffic:[true|false]
},
barrierList: [],
barrierPoints: [],
},
output: {
language: ["portugues", "espanhol", "ingles"],
distance: {
unit:["metric"|"imperial"]
},
vehicleProperties: {},
pointsOfInterest: []
}
token: ""
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment