metersTodegrees
Convert meters into degrees according to the latitude provided.
Calculates how many degrees are equivalent to a length in meters according to latitude.
$ npm install meterstodegrees
The calculations were based on here and here.
Usage
consoleconsole
Sample Usage
const meterstodegrees = ; const meters = 1000; console;// 0.008983155487515939// At latitude 0°, 1000 meters on longitude// is equivalent to 0.008983155487515939 degrees. console;// 0.012682821971791809// At latitude 45°, 1000 meters on longitude// is equivalent to 0.012682821971791809 degrees. console;// 0.009043695025814083// At latitude 0°, 1000 meters on latitude// is equivalent to 0.009043695025814083 degrees. console;// 0.008998328965319496// At latitude 45°, 1000 meters on latitude// is equivalent to 0.008998328965319496 degrees.