Mapbox
Obtain an API key
Create the Geocoder
val geocoder = MapboxGeocoder(apiKey = "your-api-key")
// Or this helper function
val geocoder = Geocoder(apiKey = "your-api-key")Customizing Google Maps request
val geocoder = MapboxGeocoder(apiKey = "your-api-key") {
limit = 3
}Last updated
Was this helpful?