0.1.0 • Published 9 years ago

node-psearch v0.1.0

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

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]