FloatingLabelAllLocations

public struct FloatingLabelAllLocations : Codable

LabelAllLocations holds the properties of smart labels to be set at a collection of locations

  • Control the appearance of smart labels

    Declaration

    Swift

    public var appearance: FloatingLabelAppearance?
  • List of ids of the locations to label

    Declaration

    Swift

    public var locations: [String]?
  • Construct a MPIOptions.LabelAppearance object with the given properties

    Declaration

    Swift

    public init(appearance: MPIOptions.FloatingLabelAppearance? = nil, locations: [String]? = nil)

    Parameters

    margin

    set the margins around the label text and marker

    text

    set the text appearance

    marker

    set the marker appearance