node-psearch

0.1.0 • Public • Published

node-psearch

NodeJS module for the search of popular map using Yandex.Maps API.

Install

npm install node-psearch

Usage

Show example.

Request options:

  • query - Text search query. For example, the name of the object.
  • ll - {longitude,latitude} longitude and latitude of the center of the field (in degrees).
  • spn - Length of the center of gravity (degrees).
  • count - Maximum number of displayed results.

Result format:

  • name - string - Name of the object
  • coordinates - array - Сoordinates [longitude, latitude]

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i node-psearch

      Weekly Downloads

      6

      Version

      0.1.0

      License

      MIT

      Last publish

      Collaborators

      • wcoder