Set a style
Across the Mapbox ecosystem, the appearance of the map is determined by the map style. A Mapbox style is a JSON object that defines exactly how to draw a map. It defines almost everything related to a map's appearance. In the Maps SDK, you will set the style of the map after initializing the map view.
Choose a style
The style you choose for your application should reflect how your users will interact with the map and what they will use your application for. If you are not sure what style is right for you, we recommend getting started with the carefully designed, all-purpose Mapbox Standard style.
Load a style
The Maps SDK’s MapView
provides an embeddable map interface. You can embed the map inside a view, allowing users to manipulate it with gestures and more. To render a map in the MapView
, you will need to determine which style the renderer should use. You can rely on the default Mapbox Standard loaded by default. Or you can initialize the map view with constructor by styleUri
property of MapInitOptions
. Moreover you can load a style at any time after the map has been initialized using one of MapboxMap
’s style loading methods.