index.js
function (p, dist, bearing) {
        var a = bearing * Math.PI / 180;
        return this.offset(p,
            Math.sin(a) * dist,
            Math.cos(a) * dist);
    }
function (p, dist, bearing) {
        var a = bearing * Math.PI / 180;
        return this.offset(p,
            Math.sin(a) * dist,
            Math.cos(a) * dist);
    }
function ( p , dist , bearing ) { var a = bearing * Math . PI / 180 ; return this . offset ( p , Math . sin ( a ) * dist , Math . cos ( a ) * dist ) ; }
Returns a new point given distance and bearing from the starting point.

@param {Array<number>} p point [longitude, latitude]
@param {number} dist distance
@param {number} bearing
@returns {Array<number>} point [longitude, latitude]
@example
var point = ruler.destination([30.5, 50.5], 0.1, 90);
//=point
Returns a new point given distance and bearing from the starting point .