CPMapPanelButtonConfiguration
A type that manages the action buttons and travel estimates in a map panel.
Declaration
class CPMapPanelButtonConfigurationOverview
A CPMapPanelbuttonConfiguration object specifies the controls and details to display at the bottom of a CPMapPanel. Create this type when to add a primary action button and an optional secondary action button to the bottom of the panel. These buttons are separate from your map panel’s section content and remain pinned to the bottom of the panel during scrolling. You can also use this type to specify travel estimates you want to keep pinned to the bottom of the panel.
Instantiate this type and specify it with the rest of the panel content when initializing your CPMapPanel object. You can’t change the button configuration details after you create your map panel.