<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CarPlay",
  "identifier" : "/documentation/CarPlay/CPMapPanel/sections",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "CarPlay"
    ],
    "preciseIdentifier" : "c:objc(cs)CPMapPanel(py)sections"
  },
  "title" : "sections"
}
-->

# sections

The sections of content to display in the panel.

```
var sections: [CPMapPanelSection] { get set }
```

## Discussion

You specify this information initially when you create the panel, but can also update the list of sections by assigning a new value
to this property. When assigning a new value to this property, the panel discards the previous data and stores a copy of the
new sections you provide.

If the panel isn’t tall enough to display all of the sections at the same time, it places them in a scrollable interface.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)