Open rbrundritt opened 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
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.
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