forked from feliperazeek/geonode
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Felipe Oliveira
committed
Mar 9, 2011
1 parent
8a8f3e0
commit c70baed
Showing
1 changed file
with
16 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
GeoNode | ||
by Felipe Oliveira | ||
March 2011 | ||
http://geeks.aretotally.in/projects/geonode | ||
http://twitter.com/_felipera | ||
# GeoNode | ||
# by Felipe Oliveira | ||
# March 2011 | ||
# [http://geeks.aretotally.in/projects/geonode] (http://geeks.aretotally.in/projects/geonode) | ||
# [http://twitter.com/_felipera] (http://twitter.com/_felipera) | ||
|
||
GeoNode adds geocoding capabilities to Node.js using Google's Geocode API - Geo Spatial is coming out soon. | ||
GeoNode adds very basic, but simple to use, geocoding capabilities to Node.js using Google's Geocode API - Geo Spatial is coming out soon. | ||
|
||
Usage: | ||
## Usage | ||
|
||
var geonode = require('../lib/geonode'); | ||
|
||
var address = '885 6th Ave #15D New York, NY 10001'; | ||
var sensor = false; | ||
geonode.geocoder(geonode.google, address, sensor, function(formattedAddress, latitude, longitude) { | ||
console.log("Formatted Address: " + formattedAddress); | ||
console.log("Latitude: " + latitude); | ||
console.log("Longitude: " + longitude); | ||
}); | ||
var geonode = require('../lib/geonode'); | ||
var address = '885 6th Ave #15D New York, NY 10001'; | ||
var sensor = false; | ||
geonode.geocoder(geonode.google, address, sensor, function(formattedAddress, latitude, longitude) { | ||
console.log("Formatted Address: " + formattedAddress); | ||
console.log("Latitude: " + latitude); | ||
console.log("Longitude: " + longitude); | ||
}); |