The Mapbox Geocoding API can handle lots of different query parameters, including country
, which will only return results for a given country.
This example uses GeocoderControl
's queryOptions
option to restrict results to those from the United States. Try searching for "Dublin."