setEndIcon

open fun setEndIcon(@Nullable endIcon: Bitmap)

Set an end icon for the directions renderer. This will be rendered on the end of the last leg in the route.

Parameters

endIcon

Bitmap of icon to be shown. Sending null will not render any icon at the end (default behavior)