Various required Starchup geo-related components - best way to modularize the geocoding functionality for our sites.
npm install starchup-geo
- City from Zipcode
- Zipcode from location
- Geocoder
- Bulk Geocoder //TODO
- Reverse-geocoder //TODO
- Bulk Reverse-geocoder //TODO
var geo = new require('starchup-geo')({api_key: _GOOGLE_KEY_});
geo.cityForZip(zipcode, function(err, city) {});
geo.zipForLocation({lat: latitude, lng: longitude}, function(err, zipcode) {});
geo.geocode(addressString, function(err, location) {});