OrnamentOptions
public struct OrnamentOptions : EquatableUsed to configure Ornament-specific capabilities of the map
All margin values are relative to the MapView‘s safe area. To allow the safe area
(and thereby ornaments) to track the presence of navigation bars and tab bars,
make MapView the root view of a view controller.
- 
                  
                  The ornament options for the map’s scale bar. DeclarationSwift public var scaleBar: ScaleBarViewOptions
- 
                  
                  The ornament options for the map’s compass view. DeclarationSwift public var compass: CompassViewOptions
- 
                  
                  The ornament options for the map’s logo view. Per our terms of service, a Mapbox map is required to display both a Mapbox logo as well as an information icon that contains attribution information. See https://docs.mapbox.com/help/how-mapbox-works/attribution/ for details. DeclarationSwift public var logo: LogoViewOptions
- 
                  
                  The ornament options for the map’s attribution button. DeclarationSwift public var attributionButton: AttributionButtonOptions
- 
                  
                  Initializes an OrnamentOptions.DeclarationSwift public init( scaleBar: ScaleBarViewOptions = .init(), compass: CompassViewOptions = .init(), logo: LogoViewOptions = .init(), attributionButton: AttributionButtonOptions = .init() )ParametersscaleBarThe ornament options for the map’s scale bar. compassThe ornament options for the map’s compass view. logoThe ornament options for the map’s logo view. attributionButtonThe ornament options for the map’s attribution button. 
 OrnamentOptions Structure Reference
        OrnamentOptions Structure Reference