Skip to content

GPS coordinates of all ISO-3166-1 countries

Notifications You must be signed in to change notification settings

pmusyoki/country-coords

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GPS Coordinates (latitude and longitude) for all iso-3166-1 countries

const coords = require('country-coords');

console.log(currencies.map(c => c.country+': '+c.latitude+','+c.longitude));
    // AD: 42.5,1.5
    // …

// export a Map
byCountry()

const byCountry = coords.byCountry();

byCountry.has('DK');
    // true

byCountry.get('DK');
    // { country: 'DK', latitude: 56, longitude: 10 }

See also:

About

GPS coordinates of all ISO-3166-1 countries

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%