0
votes

I am trying to make an Android activity (in Java) using Mapbox. My search results using the Mapbox Places plugin currently show autocomplete suggestions internationally and I don't know how to limit these results to the user's proximity (ex: 50 miles).

My current implementation is essentially all the code Mapbox provides for this example: https://docs.mapbox.com/android/plugins/examples/global-location-search/

I want to do what they are showing here, however this example is in JavaScript: https://docs.mapbox.com/help/tutorials/local-search-geocoding-api/#optional-parameters

How can I accomplish this?

Thanks!

1

1 Answers