init(title:items:)
Initializes a section with items conforming to @c CPMapPanelItem. Only items that adopt @c CPMapPanelItem are supported when displaying panel sections on a @c CPMapTemplate.
Declaration
init(title: String?, items: [CPMapPanelItem])Parameters
- title:
An optional title for the section.
- items:
An array of @c CPMapPanelItem conforming objects to display in the section.