CarMap()
function CarMap(props: CarMapProps): Element | null;
Defined in: src/CarMap.tsx:90
Adds its @rnmapbox/maps children to the map on the car screen (CarPlay, Android Auto) instead of the phone's.
Render it in the component passed to Navigation.registerCarPlayRoot, and in the app for Android Auto and
for iOS apps without a CarPlay root; while a CarPlay root is mounted, only its <CarMap> renders.
It takes no space on the phone and renders nothing while no car screen shows a map.
Views such as MarkerView and taps on the map aren't supported on car screens.
Parameters
| Parameter | Type | Description |
|---|---|---|
props | CarMapProps | See CarMapProps. |
Returns
Element | null