Socket
Socket
Sign inDemoInstall

geocodeplus

Package Overview
Dependencies
0
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    geocodeplus

Simple library that returns cordiantes based on an address using goog'es geocode api.


Version published
Maintainers
1
Install size
2.21 kB
Created

Readme

Source

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

FAQs

Last updated on 27 Jan 2016

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc