react-select-geocoder

1.2.1 • Public • Published

react-select-geocoder

NPM version Build status

Geocoder that uses react-select

Usage

Check the propTypes for the options. For boundary see isomorphic-mapzen-search and for focusPoint use any lonlat compatible value.

import Geocoder from 'react-select-geocoder'
 
render(
  <Geocoder
    apiKey={process.env.MAPZEN_KEY}
    boundary={boundary}
    focusPoint={lonlat}
    onChange={value => console.log(value)}
    />
  , div
)

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.2.1
    3
    • latest

Version History

Package Sidebar

Install

npm i react-select-geocoder

Weekly Downloads

5

Version

1.2.1

License

MIT

Last publish

Collaborators

  • trevorgerhardt