keplergl / kepler.gl

Kepler.gl is a powerful open source geospatial analysis tool for large-scale data sets.
http://kepler.gl
MIT License
10.11k stars 1.71k forks source link

Support for other Geocoders #2578

Closed jamesdbaker closed 3 weeks ago

jamesdbaker commented 3 weeks ago

Is it possible - either at present, or as a future feature - to switch out the MapBox Geocoder for other services (e.g. a locally hosted Nominatim instance)?

The documentation here seems to suggest that it's been considered, but the documentation isn't complete so I can't tell if it's implemented yet or not: https://github.com/keplergl/kepler.gl/blob/master/docs/api-reference/advanced-usages/custom-map-styles.md

ibgreen commented 3 weeks ago

@jamesdbaker Thanks for your interest.

First, this repo already has over 500 open issues, so please move further comments to GitHub discussions for anything that is not a clear bug.

As for your question, there is no pluggable system unfortunately, you would need to modify https://github.com/keplergl/kepler.gl/blob/89180277d7b45b6056f573afe59252ffcfbf818e/src/components/src/geocoder/geocoder.tsx#L7