I’am calling directions with POSt and using this like body
{
"preference":"shortest",
"units":"km",
"language":"fr",
"geometry":"false",
"instructions":"true",
"coordinates":[
[
6.791700,
51.999200
],
[
6.791700,
53.109200
]
],
"options":{
"avoid_countries":[
],
"avoid_borders":"none",
"avoid_features":[
],
"profile_params":{
"restrictions":{
"width":0.0,
"height":0.0,
"weight":32.0,
"length":0.0,
"axleload":3,
"hazmat":false
}
}
}
}
I went to have the response without geometry, but even with geometry = false I’am having it on my response. The only way to remove it, is to put instructions and geometry both to false, but this will also remove the segments and the instructions from the response.
Are there anyway to have the instructions without the geometry when i’am routing only two points?
PS: When having more than two points and geometry false and instructions true it worked, i can have the instructions without the geometry.