How to use pelias-interpolation - 1 common examples

To help you get started, we’ve selected a few pelias-interpolation examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github pelias / api / service / interpolation.js View on Github external
function RequireTransport( addressDbPath, streetDbPath ){
  try {
    var lib = require('pelias-interpolation'); // lazy load dependency
    this.query = lib.api.search( addressDbPath, streetDbPath );
  } catch( e ){
    logger.error( 'RequireTransport: failed to connect to interpolation service' );
  }
}
RequireTransport.prototype.query = function( coord, number, street, cb ){

pelias-interpolation

street address interpolation service

MIT
Latest version published 18 days ago

Package Health Score

75 / 100
Full package analysis

Popular pelias-interpolation functions

Similar packages