max-mapper / geojson-js-utils

JavaScript helper functions for manipulating GeoJSON
BSD 2-Clause "Simplified" License
402 stars 58 forks source link

Adding destinationPoint method #6

Closed abernier closed 11 years ago

abernier commented 11 years ago

From Paris (France), turn 318°, go for 8943 kilometers, stop, this PR is now at:

var paris = {
  type: 'Point',
  coordinates: [48.856614, 2.352222]
};
gju.destinationPoint(paris, 318, 8943) // Oakland (California)
max-mapper commented 11 years ago

nice!