setWorldview static method

void setWorldview(
  1. String? worldview
)

Set preferred worldview for Mapbox products as a ISO 3166-1 alpha-2 country code.

Learn more about Mapbox worldviews at https://docs.mapbox.com/help/glossary/worldview/#available-worldviews.

Implementation

static void setWorldview(String? worldview) {
  _options.setWorldview(worldview);
}