Placement

public enum Placement : UInt32, CaseIterable, Codable

Represents text placement with respect to the icon of a MapMarker.

  • Text placed centered over the image.

    Declaration

    Swift

    case center
  • top

    Text placed over the top edge of the image’s bounding rectangle.

    Declaration

    Swift

    case top
  • Text placed at the top right corner of the image’s bounding rectangle.

    Declaration

    Swift

    case topRight
  • Text placed next to the right edge of the image’s bounding rectangle.

    Declaration

    Swift

    case right
  • Text placed at the bottom right corner of the image’s bounding rectangle.

    Declaration

    Swift

    case bottomRight
  • Text placed below the bottom edge of the image’s bounding rectangle.

    Declaration

    Swift

    case bottom
  • Text placed at the bottom left corner of the image’s bounding rectangle.

    Declaration

    Swift

    case bottomLeft
  • Text placed next to the left edge of the image’s bounding rectangle.

    Declaration

    Swift

    case left
  • Text placed at the top left corner of the image’s bounding rectangle.

    Declaration

    Swift

    case topLeft