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?
  • Construct a MPIOptions.ShowVenue object with the given properties

    Declaration

    Swift

    public init(
        labelAllLocationsOnInit: Bool = true,
        firstMapId: String? = nil,
        backgroundColor: String? = nil,
        backgroundAlpha: Double? = 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