Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/conveyal/react-select-geocoder
Geocoder that uses react-select
https://github.com/conveyal/react-select-geocoder
geocoder openstreetmap react
Last synced: 2 months ago
JSON representation
Geocoder that uses react-select
- Host: GitHub
- URL: https://github.com/conveyal/react-select-geocoder
- Owner: conveyal
- License: mit
- Created: 2016-01-27T05:53:43.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-10-04T17:13:08.000Z (about 7 years ago)
- Last Synced: 2024-09-30T10:04:07.455Z (3 months ago)
- Topics: geocoder, openstreetmap, react
- Language: JavaScript
- Size: 144 KB
- Stars: 4
- Watchers: 8
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# react-select-geocoder
[![NPM version][npm-image]][npm-url]
[![Build status][travis-image]][travis-url]Geocoder that uses react-select
## Usage
Check the `propTypes` for the options. For `boundary` see [isomorphic-mapzen-search](https://github.com/conveyal/isomorphic-mapzen-search#autocomplete) and for `focusPoint` use any [lonlat](https://github.com/conveyal/lonlat) compatible value.
```js
import Geocoder from 'react-select-geocoder'render(
console.log(value)}
/>
, div
)
```[npm-image]: https://img.shields.io/npm/v/react-select-geocoder.svg?maxAge=2592000&style=flat-square
[npm-url]: https://www.npmjs.com/package/react-select-geocoder
[travis-image]: https://img.shields.io/travis/conveyal/react-select-geocoder.svg?style=flat-square
[travis-url]: https://travis-ci.org/conveyal/react-select-geocoder