publiclab / leaflet-blurred-location

A Leaflet-based interface for selecting a "blurred" or low-resolution location, to preserve privacy
https://publiclab.github.io/leaflet-blurred-location/examples/
GNU General Public License v3.0
35 stars 32 forks source link

use standardized abstract geocoding library #81

Open jywarren opened 6 years ago

jywarren commented 6 years ago

https://www.npmjs.com/package/node-geocoder

Not urgent, but a good idea in the future!

mridulnagpal commented 6 years ago

@jywarren Should we start with this as well?

jywarren commented 6 years ago

Yes, this looks great!

rexagod commented 5 years ago

Currently, the request for Maps API with the node-geocode reverse method returns Error: Response status code is 400 at exports.IncomingMessage.<anonymous> (Leaflet.BlurredLocation.js:50887) at emitNone (Leaflet.BlurredLocation.js:31507) at exports.IncomingMessage.emit (Leaflet.BlurredLocation.js:31587) at endReadableNT (Leaflet.BlurredLocation.js:61376) at afterTickTwo (Leaflet.BlurredLocation.js:57943) at Item.run (Leaflet.BlurredLocation.js:58116) at drainQueue (Leaflet.BlurredLocation.js:58086). Tested this on http, https, and local. I maybe wrong here, will investigate further.

Nevermind, it was an internal error. node-geocoder is working as expected now.