react-map-gl-geocoder icon indicating copy to clipboard operation
react-map-gl-geocoder copied to clipboard

Supporting stand-alone Geocoder without map ?

Open Steven-Fabre opened this issue 3 years ago • 1 comments

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/ )

Steven-Fabre avatar Dec 12 '21 20:12 Steven-Fabre

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.

SamSamskies avatar Dec 12 '21 23:12 SamSamskies