A JSON dataset of latitude and longitude co-ordinates for USA state counties and cities.
Original sources:
- http://en.wikipedia.org/wiki/User:Michael_J/County_table
- https://github.com/deremer/Cities/blob/master/countries/unitedstates.js
- http://dev.maxmind.com/geoip/legacy/codes/state_latlon/
Node.js
Install:
$ npm install us_latlng_json
Code:
var usaStates = require('us_latlng_json');
Bower
Install:
$ bower install us_latlng_json
Then load the us_state_cities.json
from within your code.
Public domain