Do some reverse geocoding


#1

I’m trying to do some reverse geocoding using the aldeed:geocoder package, but I got an error saying that GeoCoder is not a constructor.

I didn’t find a good and simple package either on NPM or Atmosphere to do this.

Does anyone have a simple solution ?


#2

Look at pickpoint.io. You only need to make HTTP.call('GET', url, (error, result) => {...}
And you don’t need any additional packages.


#3

Are you calling this on the client? I believe GeoCoder is only available on the server and this could possibly be your issue.


#4

@none I will take a look to your solution but I would prefer use the Google Maps Geocoding API

@copleykj I put my code in a Meteor.isServer condition. But now I’ve got a HTTP Error : ETIMEDOUT


#5

Or… you may try to use node-geocoder


#6

I’ve got the same error HTTP Error : ETIMEDOUT