Configuration
struct Configuration
The STLocationRequestController Configurations
-
The title which will be presented at the top of the STLocationRequestController
Declaration
Swift
public var title: STLocationRequestController.Configuration.Title -
The AllowButton which will trigger the location request
Declaration
Swift
public var allowButton: STLocationRequestController.Configuration.Button -
The NotNowButton which will dismiss the STLocationRequestController
Declaration
Swift
public var notNowButton: STLocationRequestController.Configuration.Button -
The MapView
Declaration
Swift
public var mapView: STLocationRequestController.Configuration.MapView -
The backgroundcolor for the view of the STLocationRequestController
Declaration
Swift
public var backgroundColor: UIColor -
The PulseEffect underneath the LocationSymbol
Declaration
Swift
public var pulseEffect: STLocationRequestController.Configuration.PulseEffect -
The Location Symbol which will be displayed in the middle of the STLocationRequestController
Declaration
Swift
public var locationSymbol: STLocationRequestController.Configuration.LocationSymbol -
The StatusBarStyle. Default value: .lightContent
Declaration
Swift
public var statusBarStyle: UIStatusBarStyle -
Set the authorize Type for STLocationRequestController. Choose between:
.requestWhenInUseAuthorizationand.requestAlwaysAuthorization. Default value is.requestWhenInUseAuthorizationDeclaration
Swift
public var authorizeType: STLocationRequestController.Authorization -
The Places
Declaration
Swift
public var places: STLocationRequestController.Configuration.Places -
Default initializer
Declaration
Swift
public init()
-
The Title Configuration Type
Declaration
Swift
typealias Title = (text: String, font: UIFont, color: UIColor) -
The Button Configuration Type
Declaration
Swift
typealias Button = (title: String, titleColor: UIColor, font: UIFont, backgroundColor: UIColor, highlightedBackgroundColor: UIColor, highlightedTitleColor: UIColor, borderColor: UIColor, borderWidth: CGFloat, cornerRadius: CGFloat) -
The MapView Configuration Type
Declaration
Swift
typealias MapView = (configuration: FlyoverCamera.Configuration, type: FlyoverMapView.MapType, alpha: CGFloat) -
The PulseEffect Configuration Type
Declaration
Swift
typealias PulseEffect = (enabled: Bool, color: UIColor, radius: CGFloat) -
The LocationSymbol Configuration Type
Declaration
Swift
typealias LocationSymbol = (color: UIColor, hidden: Bool) -
The Places Configuration Type
Declaration
Swift
typealias Places = (filter: [STLocationRequestController.Place]?, changeInterval: TimeInterval, custom: [CLLocationCoordinate2D])
View on GitHub
Configuration Structure Reference