geocodeplus

1.1.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i geocodeplus

Weekly Downloads

3

Version

1.1.0

License

MIT

Last publish

Collaborators

  • magreenberg