📜  sphere.computeheading javascript 代码示例

📅  最后修改于: 2022-03-11 15:04:11.958000             🧑  作者: Mango

代码示例1


var point1 = new google.maps.LatLng(lat1, lng1);
var point2 = new google.maps.LatLng(lat2, lng2);
var heading = google.maps.geometry.spherical.computeHeading(point1,point2);