AdvancedPlaceSearchConfiguration
struct AdvancedPlaceSearchConfigurationextension AdvancedPlaceSearchConfiguration : Sendable, SendableMetatypeThe configuration for the AdvancedPlaceSearchView component.
-
The position of the attribution in the component.
Declaration
Swift
let attributionPosition: PlaceViewAttributionPosition -
The content to display in the component.
Declaration
Swift
let content: Set<AdvancedPlaceSearchContent> -
Creates a configuration for the
AdvancedPlaceSearchViewcomponent.Declaration
Swift
init(content: Set<AdvancedPlaceSearchContent>, preferTruncation: Bool = false, theme: PlacesMaterialTheme, attributionPosition: PlaceViewAttributionPosition = .top, selectable: Bool = false)Parameters
contentThe content to display in the component.
preferTruncationWhether long text in the component should be truncated.
themeThe theme of the component.
attributionPositionThe position of the attribution in the component.
selectableWhether an individual place in the component is selectable.
Return Value
The configuration for the
AdvancedPlaceSearchViewcomponent. -
Whether to truncate the content if it does not fit in the component.
Declaration
Swift
let preferTruncation: Bool -
Whether an individual place in the component is selectable.
Declaration
Swift
let selectable: Bool -
The theme to use for the component.
Declaration
Swift
let theme: PlacesMaterialTheme