Skip to content

Repository files navigation

Typescript flavoured library providing access to the Maptiler Geocoding service.

npm i maptiler-geocoder-node
import{config}from'dotenv'import{resolve}from'path'import{createClient}from'maptiler-geocoder-node'config({path: resolve(__dirname,'../.env')})constclient=newcreateClient({key: process.env.key})// Single query exampleconstquery=async()=>{returnawaitclient.query('Mory 8, Warsaw 01-330')}// Queue query exampleconstqueue=async()=>{returnawaitclient.queue(['Mory 8, Warsaw 01-330','1756 Naud St, Los Angeles','failed address'])}

About

Provides a nodejs geocoder; built upon the fantastic maptiler service.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages