geocoder icon indicating copy to clipboard operation
geocoder copied to clipboard

node.js module to geocode through google developer api

Results 19 geocoder issues
Sort by recently updated
recently updated
newest added

I've refactored the methods to use callback as last parameter, which is the node.js style. This will allow libraries like Bluebird to allow [promisify all](https://github.com/petkaantonov/bluebird/blob/master/API.md#promisepromisifyallobject-target--object-options---object) methods. Also removed underscore dependency...

How do we specify the Google API credentials while using geocoder?

SInce `geocoder.geocode()` takes a callback as its second to last argument, I found this module to be more difficult than usual to promisify using something like [`bluebird`](https://github.com/petkaantonov/bluebird/)'s [`promisifyAll()`](https://github.com/petkaantonov/bluebird/blob/master/API.md#promisification) function. Have...

hi, i m fresh to use geocoder nodejs. but i cant found the function to release or end the connection..soon, i can't make new any connection in my code. so...

``` uncaughtException: Unexpected token < SyntaxError: Unexpected token < at Object.parse (native) at IncomingMessage. (/mnt/data/www/services/releases/20141029123717/node_modules/geocoder/index.js:41:21) at IncomingMessage.emit (events.js:117:20) at _stream_readable.js:929:16 at process._tickCallback (node.js:419:13) ```

Added support for specifying api key in google provider

If you try to do a reverseGeocode on a location on the prime meridian or the equator (lat===0 or lon===0) you get an error because of the input validation here:...

Google requires the geocoding lookup to be over SSL when a key is provided. I adapted the call to https based on whether `opts` contains a `key` property.