loadMapsIndoorsStyle

fun MapboxMap.loadMapsIndoorsStyle(onStyleLoaded: (Style) -> Unit)

Loads the MapsIndoors standard style — the one MPMapConfig.Builder(useMapsIndoorsStyle = true) uses.

A map opened on another style is switched to this one when its MPMapConfig is built, and the base map blanks for the whole reload. Opening the map on this style instead means the config finds it already loaded and keeps it, so the map's first frames are already on their final style.

Parameters

onStyleLoaded

Invoked once the style has loaded, as with MapboxMap.loadStyle.