Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wcoder/node-psearch
NodeJS module for the search of popular map using Yandex.Maps API
https://github.com/wcoder/node-psearch
Last synced: about 7 hours ago
JSON representation
NodeJS module for the search of popular map using Yandex.Maps API
- Host: GitHub
- URL: https://github.com/wcoder/node-psearch
- Owner: wcoder
- License: mit
- Created: 2015-02-11T16:17:02.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-03-13T08:07:40.000Z (over 9 years ago)
- Last Synced: 2024-10-09T08:43:04.632Z (about 1 month ago)
- Language: JavaScript
- Homepage:
- Size: 168 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# node-psearch [![node-psearch API Documentation](https://www.omniref.com/js/npm/node-psearch.png)](https://www.omniref.com/js/npm/node-psearch)
NodeJS module for the search of popular map using Yandex.Maps API.## Install
```
npm install node-psearch
```## Usage
```
var psearch = require('node-psearch');// ...
```Show [example](https://github.com/wcoder/node-psearch/blob/master/example/run.js).
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]`