I want to use Mapbox geocoding services in OpenLayers 5 project. I'm using this method https://github.com/jonataswalker/ol-geocoder but it doesn't support Mapbox API


There is option for custom provider. Here tensing geocoder is added. https://github.com/TensingUSA/ol3-geocoder/commit/1ef481e19c051da701d043954757be5939407d25

It will have to be modified with mapbox parameters.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.