city-lat-long-map

1.0.1 • Public • Published

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

see this package on npm

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    1
  • 1.0.0
    0

Package Sidebar

Install

npm i city-lat-long-map

Weekly Downloads

1

Version

1.0.1

License

ISC

Last publish

Collaborators

  • cdersky