Directions Api Optimized Route distance type

2 posts / 0 new
Last post
bozyel
Directions Api Optimized Route distance type

I am using optimized route to detect distance between two location but i couldn't find type of the distance that api turns. 

"distance": [
    0,
    13.783
  ],

its like above. I don't think its kilometer.


MQBrianCoakley
Set the unit parameter to 'k'
Set the unit parameter to 'k'.