Description :
ให้ข้อมูลทิศทางที่รถกำลังวิ่งไป (Heading) ของข้อมูล GPS จุดที่ 1 โดยใช้ข้อมูล GPS 2 จุด คำนวณจากจุดที่ 1 ไปจุดที่ 2 มีหน่วยเป็นองศาเทียบกับทิศเหนือ
URL:
API Status:
Online
Formats: (Click for sample output)
HTTP Method:
GET
Requires Authentication :
true
API rate limited :
ไม่จำกัด
Parameters :
Required *
*latitude1 = ค่า latitude ของจุด GPS จุดที่ 1
*longitude1 = ค่า longitude ของจุด GPS จุดที่ 1
*latitude2 = ค่า latitude ของจุด GPS จุดที่ 2
*longitude2 = ค่า longitude ของจุด GPS จุดที่ 2
Response :
JSON Example
เส้นสีแดงแสดงทิศทาง (Heading) จาก จุด GPS ที่ 1 สวทช (latitude=14.078606 , longitude=100.603120) ไปยังจุด GPS จุดที่ 2 อนุสาวรีชัยสมรภูมิ (latitude=13.764913 , longitude=100.538283 )