Node.js module to get the name of a city based on a point (latitude and longitude). Based on Yahoo Place Finder API (requires key from Yahoo!)
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
test
.gitignore
.travis.yml
CHANGELOG
LICENSE
README.md
package.json

README.md

node-point-to-city

node-point-to-city is a simple module that will transform a point (latitude, longitude) to the name of the city which points to.

Yahoo! Place Fincer

This module is based in the fantastic Yahoo! Place Finder API, which means you will need a appid to use it. Please check http://developer.yahoo.com/geo/placefinder/ for more information

Usage

$ var ptc = require('./point_to_city');
$ ptc.init('YOUR APPID');
$ ptc.point_to_city(lat, lon, onSuccess, onError);

Build status

Status