1.1.0 • Published 8 years ago
geocodeplus v1.1.0
GeoCodePlus
Install command - npm install geocodeplus
EXAMPLES
// require the module in your project
var geocodeplus = require.('geocodeplus');
// set your address
var myAddress = "full sail university, fl";
// Call locate and log results
geocodeplus.locate(myAddress, function(results){
console.log( "Query Address: " + results.full );
});
.locate(address, function(results){});
This function makes a call against the geocode API and returns the results. results is an Object with the the fallowing key-value pairs. 1. 'lat' : "Latitude Cordiante" 2. 'long' : "Longitude Cordinate" 3. 'full : "Full address found by query" 4. 'error' : "Any errors returned by processing"
Designed by: Matthew Greenberg magreenberg@fullsail.edu