Reverse Geocoding (GeoJson)

node v6.16.0
version: 1.0.0
endpointsharetweet
Example showing how to utilize the temporalData endpoint for reverse geocoding.
var Breinify = require('breinify-node'); var breinify = new Breinify({ apiKey: '938D-3120-64DD-413F-BB55-6573-90CE-473A' }); // use a promise to return the resolved information var response = await new Promise(function(resolve) { var loc = { latitude: 40.7608, longitude: -111.8910, shapeTypes: ['CITY'] }; breinify.temporalData({ location: loc }, resolve); }); response;
Loading…

no comments

    sign in to comment