FUIResizablePopoverContainer

open class FUIResizablePopoverContainer : UIViewController

A UIViewController containing a tableView of FUIMapLegendItems. This controller is intended to be presented within a UIPopoverPresentationController. It calculates its preferred content size based on the tableView’s content height and tableView’s content width between a maximum and minimum value.

Available in FUIMapLegend:

  • An array of FUIMapLegendItem. The Items will populate the embedded UITableView. By default, items are sorted by:

    1. Markers Only
    2. Markers with Lines
    3. Polygons
    4. Lines

    Declaration

    Swift

    public var items: [FUIMapLegendItem] { get set }
  • Returns the a CGSize considering the content’s height and the content’s width between the minimum of 150 and maximum of 550. On iPhone, the width is the screen’s width.

    Declaration

    Swift

    override open var preferredContentSize: CGSize { get set }