maplibre / maplibre-gl-geocoder

Geocoding for MapLibre
ISC License
52 stars 18 forks source link

Discussion: Additional providers #11

Open rbrundritt opened 2 years ago

rbrundritt commented 2 years ago

Is there any concerns with adding support for additional geocoding providers? Default would stay as it is, but we could wrap other services and give users an option to specify which provider/service they want to use, and the associated credentials to access that service.

A couple of examples:

https://github.com/smeijer/leaflet-geosearch https://github.com/perliedman/leaflet-control-geocoder

thaddmt commented 2 years ago

There shouldn't be any concerns and is something we're planning to add going forward. For example with AWS Amplify we added some external geocoder providers using amazon location service - https://github.com/aws-amplify/maplibre-gl-js-amplify/blob/main/src/AmplifyMapLibreGeocoder.ts#L6

HarelM commented 2 weeks ago

This can be done either with docs or exporting utility method to configure the relevant geocoder. Feel free to submit a PR. This library is now up to date with latest technologies.