# rhumbBearing

Takes two points and finds the bearing angle between them along a Rhumb line i.e. the angle measured in degrees start the north line (0 degrees)
取两点,求它们之间沿 恒向线 的夹角,即从正北(0度)开始以度数衡量的夹角


参数 类型 描述
start Coord starting Point
end Coord ending Point
options Object Optional parameters: see below


属性 类型 默认值 描述
final boolean false calculates the final bearing if true


number - bearing from north in decimal degrees, between -180 and 180 degrees (positive clockwise)


var point1 = turf.point([-75.343, 39.984], {"marker-color": "#F00"});
var point2 = turf.point([-75.534, 39.123], {"marker-color": "#00F"});

var bearing = turf.rhumbBearing(point1, point2);
Last Updated: 5/23/2021, 11:10:15 AM