ScaleBarViewOptions
public struct ScaleBarViewOptions : OrnamentOptionsProtocol, EquatableUsed to configure position, margin, and visibility for the map’s scale bar view.
- 
                  
                  The position of the scale bar view. The default value for this property is .topLeading.DeclarationSwift public var position: OrnamentPosition
- 
                  
                  The margins of the scale bar view. The default value for this property is CGPoint(x: 8.0, y: 8.0).DeclarationSwift public var margins: CGPoint
- 
                  
                  The visibility of the scale bar view. The default value for this property is .adaptive.DeclarationSwift public var visibility: OrnamentVisibility
- 
                  
                  Specifies the whether the scale bar uses the metric system. True if the scale bar is using metric units, false if the scale bar is using imperial units. The default value for this property is Locale.current.usesMetricSystem.DeclarationSwift public var useMetricUnits: Bool
- 
                  
                  Initializes a ScaleBarViewOptions.DeclarationSwift public init( position: OrnamentPosition = .topLeading, margins: CGPoint = .init(x: 8.0, y: 8.0), visibility: OrnamentVisibility = .adaptive, useMetricUnits: Bool = Locale.current.usesMetricSystem )ParameterspositionThe position of the scale bar view. marginsThe margins of the scale bar view. visibilityThe visibility of the scale bar view. useMetricUnitsWhether the scale bar uses the metric system. 
 ScaleBarViewOptions Structure Reference
        ScaleBarViewOptions Structure Reference