Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Supporting stand-alone Geocoder without map ? #130

Open
Steven-Fabre opened this issue Dec 12, 2021 · 1 comment
Open

Supporting stand-alone Geocoder without map ? #130

Steven-Fabre opened this issue Dec 12, 2021 · 1 comment

Comments

@Steven-Fabre
Copy link

Hello, I'd like to know if it's gonna be able to run alone without displaying a map like in Vanilla JS ? ( https://docs.mapbox.com/mapbox-gl-js/example/mapbox-gl-geocoder-no-map/ )

@SamSamskies
Copy link
Owner

Nah. It's only meant to be used with react-map-gl. Probably not that hard to copy pasta the code and modify it for that purpose though. All the code is in one file https://github.com/SamSamskies/react-map-gl-geocoder/blob/master/src/index.js.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants