How to use the Location IQ API Services

preview_player
Показать описание
This tutorial explains several of the API services that LocationIQ provides, including forward search geocoding, reverse geocoding, static and dynamic maps.

Рекомендации по теме
Комментарии
Автор

Hi Steve, I am trying to use locationIQ in node.js application. I have installed it by running npm i locationiq. I see the module in node_modules. However i try to require that module, it returns a empty object.const LocationIq = require('locationiq'); test {}
console.log("test", LocationIq); Its returning empty object. I am just wondering if i am missing anything. I have tried ## TL;DR;

```javascript
const locationiq = new require('locationiq')({
token: 'token'
}); it throws error intermediary function ..
just wondering if i should write code from scratch ? to get lat, long details? Please advice

funlearningwithannie
Автор

is it free to use or any charge like google maps api ?

developersstudio