transform

abstract suspend fun transform(preference: MapStylePreference): Flow<TransformedMapStyle>

Transforms the given MapStylePreference into a Flow of TransformedMapStyle objects.

This method takes a preference object representing the user's preferred map style settings, and returns a Flow of TransformedMapStyle objects representing the transformed map style. The transformation is performed asynchronously.

Return

A Flow of TransformedMapStyle objects representing the transformed map style.

Parameters

preference

The user's preferred map style settings.