MapAppearance | iOS SDK | 2GIS Documentation

MapAppearance

Appearance of the map depending on the environment.

Properties

Use default theme.

Use a single current style theme in any environment.

Use an automatic switching light and dark theme. The automatic switching takes place according to the change of the environment: see UITraitEnvironment. UITraitEnvironment and UIView.traitCollection. Available starting with iOS 13. For iOS 12, the default theme will be used.

A textual representation of this instance.

Default backgroud color depending of the system theme.