Change the Map Style
Assign a new styleURL to switch cartography. The map reloads its layers from the new style without recreating the view.
mapView.styleURL = URL(string: "https://styles.maptoolkit.org/dark.json")Swap the slug (summer, light, hiking, winter, dark, street) for the style you want.