TypeScript API
Mapbutton

Interface: MapButton

A button representing an action that a map template displays on the CarPlay screen.

Table of contents

Properties

Properties

disabled

Optional disabled: boolean

A Boolean value that enables and disables the map button.

Defined in

packages/react-native-carplay/src/interfaces/MapButton.ts:22 (opens in a new tab)


focusedImage

Optional focusedImage: ImageSourcePropType

The image to display when focus is on the button.

Defined in

packages/react-native-carplay/src/interfaces/MapButton.ts:18 (opens in a new tab)


hidden

Optional hidden: boolean

A Boolean value that hides and shows the map button.

Defined in

packages/react-native-carplay/src/interfaces/MapButton.ts:26 (opens in a new tab)


id

id: string

Button ID

Defined in

packages/react-native-carplay/src/interfaces/MapButton.ts:10 (opens in a new tab)


image

Optional image: ImageSourcePropType

The image to display on the button.

Defined in

packages/react-native-carplay/src/interfaces/MapButton.ts:14 (opens in a new tab)