Skip to main content

BannerComponent

type BannerComponent = object;

Defined in: src/specs/NativeRNMBXNavigationModule.ts:26

A piece of a banner instruction, see the Mapbox Directions banner_instructions components.

Properties​

PropertyTypeDescription
imageUrlstringPNG of the road shield. Empty if none.
textstringFor a road shield, its route number, e.g. "I 80".
typestring"text", "icon" (a road shield), "delimiter", "exit" or "exit-number".