MapViewOptions
public struct MapViewOptions : Hashable
Options used for initialization of map view
-
Projection of map
Declaration
Swift
public var projection: MapProjection -
Initial loading background color that will be shown until MapView is fully initialized and a scene is loaded.If not set, it will default to
UIColor.systemBackgroundon iOS 13+ orUIColor.whiteon iOS 12. Alpha value gets ignored and is assumed as 1.0.Declaration
Swift
public var initialBackgroundColor: UIColor? -
Creates a new instance.
Declaration
Swift
public init(projection: MapProjection = MapProjection.globe, initialBackgroundColor: UIColor? = nil)