ShowVenue
public struct ShowVenue : Codable
ShowVenue
holds the properties of values to be set when showing a venue.
-
Set the first map with first map id when showing the venue
Declaration
Swift
public var firstMapId: String?
-
Show the venue with labels on all locations
Declaration
Swift
public var labelAllLocationsOnInit: Bool
-
Set background color of the map when showing the venue
Declaration
Swift
public var backgroundColor: String?
-
Set background alpha of the map
Declaration
Swift
public var backgroundAlpha: Double?
-
Index venue for searching upfront
Declaration
Swift
public var prepareSearch: Bool?
-
Options to initialize Search with
Declaration
Swift
public var searchOptions: SearchOptions?
-
init(labelAllLocationsOnInit:
firstMapId: backgroundColor: backgroundAlpha: prepareSearch: searchOptions: ) Construct a
MPIOptions.ShowVenue
object with the given propertiesDeclaration
Swift
public init( labelAllLocationsOnInit: Bool = true, firstMapId: String? = nil, backgroundColor: String? = nil, backgroundAlpha: Double? = nil, prepareSearch: Bool? = nil, searchOptions: SearchOptions? = nil )
Parameters
labelAllLocationsOnInit
whether to show venue with labels
firstMapId
first map to set
backgroundColor
set the background color of the map
backgroundAlpha
set the background alpha of the map
prepareSearch
index venue for searching upfront with optional
searchOptions
options to initialize Search with