react-select-geocoder
v1.2.1
Published
Geocoder that uses react-select.
Readme
react-select-geocoder
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
)