MapAppearance | iOS SDK | 2GIS Documentation
iOS SDK

MapAppearance

Appearance of the map depending on the environment.

Properties

Use default theme.

Use a single current style theme in any environment.

Use an automatically switching light and dark theme. The automatic switching is done according to the change of the environment: see UITraitEnvironment. UITraitEnvironment and UIView.traitCollection. Available starting iOS 13. For iOS 12, the default theme is used.

A textual representation of this instance.

Default backgroud color depending of the system theme.