React-map-gl: How can I add a mapbox geocoder?

Created on 16 Mar 2018  路  6Comments  路  Source: visgl/react-map-gl

Most helpful comment

@Stupidism I made a React wrapper for mapbox-gl-geocoder so that you can easily add it to your react-map-gl map. https://github.com/SamSamskies/react-map-gl-geocoder

All 6 comments

We have no plan to support the Mapbox Geocoder control at the moment.

@Stupidism I made a React wrapper for mapbox-gl-geocoder so that you can easily add it to your react-map-gl map. https://github.com/SamSamskies/react-map-gl-geocoder

@SamSamskies Cool, thanks a lot!

@Stupidism no problem. If you have any problems with it, please log an issue. Thanks.

Plz, how i can get object that i searched for ?
@SamSamskies
@Stupidism

@Ahmad-Saleem here's the API docs for MapboxGeocoder https://github.com/mapbox/mapbox-gl-geocoder/blob/master/API.md. I think the results event handler may be what you are looking for.

If you have specific questions about my react-map-gl-geocoder component, please raise an issue there (https://github.com/SamSamskies/react-map-gl-geocoder/issues).

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mitchellsimoens picture mitchellsimoens  路  12Comments

paulosandinof picture paulosandinof  路  11Comments

Warkst picture Warkst  路  26Comments

tsibley picture tsibley  路  13Comments

tmhn picture tmhn  路  25Comments