city-lat-long-map
v1.0.1
Published
map of city names to latitude and longitude
Downloads
4
Readme
city-lat-lon-map
Mapping of city names to their latitude and longitude. Latitude and longitude are specified to 6 decimal places.
Installation
$ npm install --save city-lat-lon-map
Usage
To use this npm package, require this module.
Example: import cityMap from 'city-lat-lon-map'
To access latitude and longitude of a city, do the follow:
- data for a city:
cityMap['city name']
- latitude for a city:
cityMap['city name'].lat
- latitude for a city:
cityMap['city name'].lng