setMapboxAPIUrl method

void setMapboxAPIUrl(
  1. Uri? url,
  2. {TileDataDomain? domain = null}
)

Sets the base URL to use for requests to the Mapbox API. Defaults to "https://api.mapbox.com". Accepts a string, or null for resetting to the default value.

Implementation

void setMapboxAPIUrl(Uri? url, {TileDataDomain? domain = null}) {
  _api.setOptionForKey(_TileStoreOptionsKey.MAPBOX_API_URL, domain, url);
}